private String getCorrect(String filename) throws Exception {
        BufferedReader reader = new BufferedReader(new FileReader(
                "src/test/java/com/yahoo/prelude/query/textualrepresentation/test/" + filename));
        StringBuilder result = new StringBuilder();
        for (String line; (line = reader.readLine()) != null;)
            result.append(line).append('\n');
        return result.toString();
    }
Test of TextualQueryRepresentation.

@author Tony Vaagenes
container-search/src/test/java/com/yahoo/prelude/query/textualrepresentation/test/TextualQueryRepresentationTestCase.java