@Test
    void testIndexName() {
        WordItem w = new WordItem("nalle");
        AndItem a = new AndItem();
        a.addItem(w);
        String expected = "mobil";
        a.setIndexName(expected);
        assertEquals(expected, w.getIndexName());
    }
Check basic contracts common to "many" item implementations.

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