@Test
public void testTransformPoint() {

    AbstractAWTDrawVisitor visitor = new NestedAWTDrawVisitor();
    visitor.setTransform(new AffineTransform()); // no transform
    int[] transformed = visitor.transformPoint(1, 2);
    Assert.assertEquals(1, transformed[0]);
    Assert.assertEquals(2, transformed[1]);
}