@Test
void shouldSaveImageAsPNG() {

    BufferedImage image = new BufferedImage(30, 40, BufferedImage.TYPE_INT_RGB);
    File testFile = new File("testImage.png");
    Stats.saveImageAsPng(image, testFile);
    assertTrue(testFile.isFile());
    testFile.delete();
}