Circle implements Shape { @Override public Position getPosition() { return position; } Circle(final int radius, final Position position); @Override String getName(); @Override double getArea(); @Override Position getPosition();  }
@Test public void testCreateCircle() { Position position = new Position(0, 1); Circle c = new Circle(1, position); final double expectedArea = 2 * Math.PI; assertEquals("Circle[area = " + expectedArea + "]", c.getDescription()); assertEquals(0, c.getPosition().getX()); assertEquals(1, c.getPosition().getY()); }