@Test
public void testPrefixQuery()
throws Exception {
final Query ntq = new LuceneProxyNodeQuery(
new NodePrefixQuery(new Term(SirenTestCase.DEFAULT_TEST_FIELD, "lit"))
);
this._assertSirenQuery(ntq, "lit*");
final TwigQuery twq = new TwigQuery(1);
twq.addChild(new NodePrefixQuery(new Term(SirenTestCase.DEFAULT_TEST_FIELD, "lit")),
NodeBooleanClause.Occur.MUST);
this._assertSirenQuery(new LuceneProxyNodeQuery(twq), "* : lit*");
}