### Question:
ReleaseXmlBean implements Serializable { public String getName() { return name; } ReleaseXmlBean();  ReleaseXmlBean(String name, String version); String getName(); void setName(String name); String getVersion(); void setVersion(String version); Set<ModuleXmlBean> getModules(); void setModules(Set<ModuleXmlBean> modules); void addmodule(ModuleXmlBean module); @Override int hashCode(); @Override boolean equals(Object obj); String getCreateTime(); void setCreateTime(Date createTime); String getLastModifiedTime(); void setLastModifiedTime(Date lastModifiedTime); @Override String toString();  }### Answer:
@Test public void testGetName() throws Exception { classUnderTest.setName("aTestString"); assertEquals("aTestString", classUnderTest.getName()); }