// Files.copy(new File(layerGraphics.get(0)), new File("/tmp/0_" + getClass().getSimpleName() + ".tiff"));
// Files.copy(new File(layerGraphics.get(1)), new File("/tmp/1_" + getClass().getSimpleName() + ".tiff"));
final BufferedImage referenceImage = ImageSimilarity.mergeImages(layerGraphics, 780, 330);
new ImageSimilarity(referenceImage, 2)
.assertSimilarity(getFile(BASE_DIR + "expectedSimpleImage.tiff"), 30);
URI scalebarGraphic = values.getObject("graphic", URI.class);
// Files.copy(new File(scalebarGraphic), new File("e:/tmp/expectedScalebar_" + getClass().getSimpleName() + ".tiff"));
new ImageSimilarity(new File(scalebarGraphic), 4).assertSimilarity(getFile(BASE_DIR + ScalebarDrawerTest.expectedDir + "expectedScalebar.tiff"), 5);
}