@Test
public void testIntensifyBad() throws Exception {

    BufferedImage before;
    before = new BufferedImage(500, 500, BufferedImage.TYPE_INT_ARGB);
    for (int i = 0; i < before.getWidth(); i++) {
        for (int j = 0; j < before.getHeight(); j++) {
            before.setRGB(i, j, 0xFF0F0F0F);
        }
    }
    BufferedImage after = new BufferedImage(before.getWidth(), before.getHeight(), before.getType());
    after.setData(before.getData());
    new Intensify().filter(after);
    //new ShowImage("after_intensified", after);
    int rgb = after.getRGB(0, 0);
    Assert.assertEquals(ARGB.rawA(rgb), 0xFF);
}