@Test
public void testDocuments()
{

    String id = "abc";
    ItemDocumentation itemDocumentation = new ItemDocumentation();
    assertFalse(itemDocumentation.documents(id));
    itemDocumentation.setId(id);
    assertTrue(itemDocumentation.documents(id));
    itemDocumentation.setId(null);
    List<String> aliases = new ArrayList<String>();
    itemDocumentation.setAliases(aliases);
    assertFalse(itemDocumentation.documents(id));
    aliases.add(id);
    assertTrue(itemDocumentation.documents(id));
}