@Test public void testRenderNullInputProperties() { for (InterpolationType interpolation : InterpolationType.values()) { AffineTransformationStep transformer = new AffineTransformationStep( BasicImageTransformations.newZoomTransformation(100.0, 100.0), Color.GRAY, interpolation); TransformationStepInput input = new TransformationStepInput(null, 100, 100, TransformedImage.NULL_IMAGE); TransformedImage result = transformer.render(Cancellation.UNCANCELABLE_TOKEN, input, null); assertNull(result.getImage()); PointTransformerChecks.checkEqualPointTransformers( AffineImagePointTransformer.IDENTITY, result.getPointTransformer()); } }