### Question:
ArtifactXmlBean implements Serializable { public long getSize() { return size; } ArtifactXmlBean();  ArtifactXmlBean(String name, String type, String version, long size,
            long checksum); String getName(); void setName(String name); String getType(); void setType(String type); String getVersion(); void setVersion(String version); long getSize(); void setSize(long size); long getChecksum(); void setChecksum(long checksum); boolean isInstalled(); void setInstalled(boolean installed); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString();  }### Answer:
@Test public void testGetSize() throws Exception { classUnderTest.setSize(10); assertEquals(10, classUnderTest.getSize()); }