Point point = foo.getPosition();
assertEquals("Unexpected value for point", 12, point.getX());
assertEquals("Unexpected value for point", 33, point.getY());
Address addr = foo.getAddress();
assertEquals("Unexpected value for address", "Dublin", addr.getCity());
assertEquals("Unexpected value for address", 4, addr.getZip());
assertEquals("Unexpected value for address", "Shelbourne Rd", addr.getStreet());
assertNull("Unexpected value for address", addr.getNr());
assertEquals("Unexpected value for name", "foam", foo.getName());
}