void (EffectPainter2D painter, BufferedImage image) { String[] content = createContent(image, painter, 0); testContent(content, content.length / 2, false); for (int size : SIZES) testPartialContent(painter, image, content, size); testPartialContent(painter, image, content, content.length / 2); Assert.assertEquals("unexpected amount of empty columns", painter == EffectPainter2D.BOLD_DOTTED_UNDERSCORE, hasEmpty(content)); Assert.assertTrue("image is not clear if offset too large", isEmpty(createContent(image, painter, content.length))); Assert.assertTrue("image is not clear if nothing to paint", isEmpty(createContent(image, null, 0))); }