@Test
    void testFakeCJKSegmenting() {
        // "first" "second" and "third" are segments in the test language
        Item item = tester.parseQuery("name:firstsecondthird", null, Language.CHINESE_SIMPLIFIED, Query.Type.ANY, TestLinguistics.INSTANCE);

        assertTrue(item instanceof AndSegmentItem);
        AndSegmentItem segment = (AndSegmentItem) item;

        assertEquals(3, segment.getItemCount());
        assertEquals("name:first", segment.getItem(0).toString());
        assertEquals("name:second", segment.getItem(1).toString());
        assertEquals("name:third", segment.getItem(2).toString());

        assertEquals("name", ((WordItem) segment.getItem(0)).getIndexName());
        assertEquals("name", ((WordItem) segment.getItem(1)).getIndexName());
        assertEquals("name", ((WordItem) segment.getItem(2)).getIndexName());
    }
Various tests for prefix, substring, and suffix terms *
container-search/src/test/java/com/yahoo/prelude/query/parser/test/ParseTestCase.java