### Question:
UploadFile implements Serializable { public String toString() { return "UploadedFile [" + "id=" + id + ", name=" + name + ", contentType=" + contentType + ", size=" + getSizeKB() + "KB]"; } 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 testToString() { String id = uploadedFile.getId(); assertEquals("UploadedFile [id=" + id + ", name=test.png, contentType=image/jpeg, size=1KB]", uploadedFile.toString()); }