@Test
public void testCopyWithDisplayName()
{

    ItemDocumentation iDoc1 = new ItemDocumentation();
    assertNull(iDoc1.getId());
    assertNull(iDoc1.getDisplayName());
    iDoc1.setId("aaa");
    assertEquals("aaa", iDoc1.getDisplayName());
    iDoc1.setDisplayName("bbb");
    assertEquals("bbb", iDoc1.getDisplayName());
    assertEquals("aaa", iDoc1.getId());
    List<String> listOfStrings = new ArrayList<String>();
    iDoc1.setAliases(listOfStrings);
    iDoc1.setFunctionNames(listOfStrings);
    iDoc1.setSeeAlso(listOfStrings);
    Description description = new Description();
    iDoc1.setDescription(description);
    List<Table> listOfTables = new ArrayList<Table>();
    iDoc1.setTables(listOfTables);
    String format = "fff";
    iDoc1.setFormat(format);
    ItemDocumentation iDoc2 = iDoc1.copyWithDisplayName("ccc");
    assertEquals("aaa", iDoc2.getId());
    assertEquals("ccc", iDoc2.getDisplayName());
    assertSame(listOfStrings,iDoc2.getAliases());
    assertSame(listOfStrings,iDoc2.getFunctionNames());
    assertSame(listOfStrings,iDoc2.getSeeAlso());
    assertSame(description,iDoc2.getDescription());
    assertSame(listOfTables,iDoc2.getTables());
    assertSame(format,iDoc2.getFormat());
}