@Test
    void testMarkersVsWords() {
        WordItem mw0 = MarkerWordItem.createEndOfHost();
        WordItem mw1 = MarkerWordItem.createStartOfHost();
        WordItem w0 = new WordItem("$");
        WordItem w1 = new WordItem("^");
        assertEquals(w0.getWord(), mw0.getWord());
        assertEquals(w1.getWord(), mw1.getWord());
        assertNotEquals(mw0, w0);
        assertEquals(mw0, MarkerWordItem.createEndOfHost());
        assertNotNull(mw1.hashCode());
    }
Check basic contracts common to "many" item implementations.

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