public void testSVGNoSize() throws Exception {
String uri = "test/resources/images/img.svg";
FOUserAgent userAgent = fopFactory.newFOUserAgent();
ImageManager manager = fopFactory.getImageManager();
ImageInfo info = manager.preloadImage(uri, userAgent.getImageSessionContext());
assertNotNull("ImageInfo must not be null", info);
assertEquals(MimeConstants.MIME_SVG, info.getMimeType());
assertEquals(uri, info.getOriginalURI());
assertEquals(100, info.getSize().getWidthPx()); //100 = default viewport size
assertEquals(100, info.getSize().getHeightPx());