### Question:
WorldObject extends EventExecutor { public void setVector2D(Vector2D vector2D) { this.vector2D = vector2D; } WorldObject();  WorldObject(String name); Angle getAngle(); void setAngle(Angle angle); Vector2D getVector2D(); void setVector2D(Vector2D vector2D); int getResourceID(); void setResourceID(int resourceID); int getId(); void setId(int id); HashMap<String, Object> getProperties(); World getWorld(); void setWorld(World world); int getZoneID(); void setZoneID(int zoneID); String getName(); void setName(String name); @Override String toString(); @Override boolean equals(Object o); @Override int hashCode();  }### Answer:
@Test public void testGetLocation() throws Exception { worldObject.setVector2D(vector2D); Location loc = LocationUtils.getObjectLocation(worldObject); Assert.assertTrue(loc == ZoneUtils.getLocationForCoordinates(world, 0, vector2D)); }