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