Package br.com.caelum.vraptor.observer.upload

Examples of br.com.caelum.vraptor.observer.upload.UploadedFile


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

TOP

Related Classes of br.com.caelum.vraptor.observer.upload.UploadedFile

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.