@Test
    final void testSetSignificance() {
        final PhraseSegmentItem p = new PhraseSegmentItem("farmyards", false,
                false);
        // unset
        assertEquals(0.0d, p.getSignificance(), 1e-9);
        assertFalse(p.hasExplicitSignificance());
        p.setSignificance(500.0d);
        assertTrue(p.hasExplicitSignificance());
    }
Keep CompositeTaggableItem, SimpleTaggableItem and TaggableSegmentItem in
lockstep.

@author <a href="mailto:steinar@yahoo-inc.com">Steinar Knutsen</a>
container-search/src/test/java/com/yahoo/prelude/query/TaggableItemsTestCase.java