@Test
    void testPhraseConnectivity() {
        WordItem w = new WordItem("a");
        PhraseItem p = new PhraseItem();
        fill(p);
        p.setConnectivity(w, 500.0d);
        assertEquals(500.0d, p.getConnectivity(), 1e-9);
        assertSame(w, p.getConnectedItem());
    }
Check basic contracts common to "many" item implementations.

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