### Question:
UploadFile implements Serializable { public long getSize() { return size; } UploadFile(String name, String contentType, long size,
            byte[] contents); String getId(); String getName(); void setName(String name); String getContentType(); void setContentType(String contentType); long getSize(); void setSize(long size); byte[] getContents(); void setContents(byte[] contents); long getSizeKB(); String toString();  }### Answer:
@Test public void testGetSize() { uploadedFile.setSize(2048); assertEquals(2048, uploadedFile.getSize()); }