### Question:
ModuleXmlBean implements Serializable { public String getName() { return name; }  String getName(); void setName(String name); Set<ArtifactXmlBean> getArtifacts(); void setArtifacts(Set<ArtifactXmlBean> artifacts); void addArtifact(ArtifactXmlBean artifact);  }### Answer:
@Test public void testGetName() throws Exception { classUnderTest.setName("aTestString"); assertEquals("aTestString", classUnderTest.getName()); }