@Test public void testGetContentType() { uploadedFile.setContentType("image/png"); assertEquals("image/png", uploadedFile.getContentType()); }
public String getContentType() { return contentType; }
UploadFile implements Serializable { public String getContentType() { return contentType; } }
UploadFile implements Serializable { public String getContentType() { return contentType; } UploadFile(String name, String contentType, long size,
            byte[] contents); }
UploadFile implements Serializable { public String getContentType() { return contentType; } 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(); }
UploadFile implements Serializable { public String getContentType() { return contentType; } 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();  }