@Test
    final void testSetUniqueID() {
        final PhraseSegmentItem p = new PhraseSegmentItem("farmyards", false,
                false);
        assertFalse(p.hasUniqueID());
        p.setUniqueID(10);
        assertEquals(10, p.getUniqueID());
        assertTrue(p.hasUniqueID());
    }
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