@Test
public void testGet() throws Exception {

	DefaultDocument document = new DefaultDocument(printService.createDefaultTemplate("A4", true), null,
			getDefaultVisitor(-31.44, -37.43, 80.83f), new MapConfigurationVisitor(configurationService,
					printDtoService));
	String documentId = printService.putDocument(document);
	ModelAndView mv = printingController.printGet(documentId, PrintingController.DOWNLOAD_METHOD_SAVE, "mydoc.pdf", 200);
	Assert.assertSame(document, mv.getModel().get(PrintingController.DOCUMENT_KEY));
	Assert.assertEquals("mydoc.pdf", mv.getModel().get(PrintingController.FILENAME_KEY));
	Assert.assertEquals(Format.PDF, mv.getModel().get(PrintingController.FORMAT_KEY));
}