ItemDocumentationSupport extends BaseDocumentation { public String getItemDocumentationId() { return this.itemDocumentation != null ? this.itemDocumentation.getId() : null; } ItemDocumentationSupport();  ItemDocumentationSupport(String id, Description description); boolean hasItemDocumentation(); String getItemDocumentationId(); ItemDocumentation getItemDocumentation(); void setItemDocumentation(ItemDocumentation itemDocumentation);  }
@Test public void testGetItemDocumentationId() { assertNull(support.getItemDocumentationId()); support.setItemDocumentation(itemDocumentation); assertNull(support.getItemDocumentationId()); itemDocumentation.setId("foo"); assertEquals("foo",support.getItemDocumentationId()); }