@Test
    void testIn() {
        Query q = new Query();
        AndItem root = new AndItem();
        StringInItem tmp;
        tmp = new StringInItem(BAMSE);
        tmp.addToken("AbC");
        root.addItem(tmp);
        tmp = new StringInItem(TEDDY);
        tmp.addToken("dEf");
        root.addItem(tmp);
        q.getModel().getQueryTree().setRoot(root);
        Result r = createExecution().search(q);
        root = (AndItem) r.getQuery().getModel().getQueryTree().getRoot();
        StringInItem w0 = (StringInItem) root.getItem(0);
        StringInItem w1 = (StringInItem) root.getItem(1);
        assertEquals(1, w0.getTokens().size());
        assertEquals(1, w1.getTokens().size());
        assertEquals("abc", w0.getTokens().iterator().next());
        assertEquals("dEf", w1.getTokens().iterator().next());
    }
Tests term lowercasing in the search chain.

@author Steinar Knutsen
container-search/src/test/java/com/yahoo/search/querytransform/LowercasingTestCase.java