@Test
    final void testBug5968479() {
        String first = "\u0130\u015EBANKASI";
        String second = "GAZ\u0130EM\u0130R";
        Query q = new Query("/?query=" + enc(first) + "%20" + enc(second));
        CompositeItem root = (CompositeItem) q.getModel().getQueryTree().getRoot();
        assertEquals(first, ((WordItem) root.getItem(0)).getRawWord());
        assertEquals(second, ((WordItem) root.getItem(1)).getRawWord());
    }
Check Substring in conjunction with query tokenization and parsing behaves properly.

@author Steinar Knutsen
container-search/src/test/java/com/yahoo/prelude/query/parser/test/SubstringTestCase.java