@Test
public void executeTest_ltSize() {

    BufferedImage img1 = BufferedImageHelper.createSolidImage(new Color(0, 0, 0));
    BufferedImage img2 = BufferedImageHelper.createSolidImage(new Color(0, 0, 0));
    ScaleToNearestFactorPreprocessor pp = new ScaleToNearestFactorPreprocessor(img1, img2,
                                                                               BufferedImageHelper.DEFAULT_WIDTH /
                                                                                       2);
    pp.process();
    Assert.assertEquals(BufferedImageHelper.DEFAULT_WIDTH / 2, pp.getResult1().getWidth());
    Assert.assertEquals(BufferedImageHelper.DEFAULT_HEIGHT / 2, pp.getResult1().getHeight());
    Assert.assertEquals(BufferedImageHelper.DEFAULT_WIDTH / 2, pp.getResult2().getWidth());
    Assert.assertEquals(BufferedImageHelper.DEFAULT_HEIGHT / 2, pp.getResult2().getHeight());
}