AbstractAWTDrawVisitor implements IDrawVisitor { @Override public void setTransform(AffineTransform transform) { this.transform = transform; }  int[] transformPoint(double xCoord, double yCoord); void transformPoint(double[] xy); @Override void setTransform(AffineTransform transform);  }
@Test public void testSetAffineTransformation() { AbstractAWTDrawVisitor visitor = new NestedAWTDrawVisitor(); visitor.setTransform(new AffineTransform()); Assert.assertNotNull(visitor); }