@Test
    void testEquivBuilding() {
        WordItem w = new WordItem("nalle");
        WordItem v = new WordItem("bamse");
        w.setConnectivity(v, 1.0);
        EquivItem e = new EquivItem(w);
        assertEquals(1.0, e.getConnectivity(), 1e-9);
        assertSame(v, e.getConnectedItem());
    }
Check basic contracts common to "many" item implementations.

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