public void testIfUploadedFileIsConverted() {
when(request.getAttribute("myfile")).thenReturn(file);
UploadedFileConverter converter = new UploadedFileConverter(request);
UploadedFile uploadedFile = converter.convert("myfile", UploadedFile.class);
assertEquals(file, uploadedFile);
}