@Test
public void testGetPixelLocation() {

    final Point2D.Double pixelLocation = new Point2D.Double();
    assertTrue(locator.getPixelLocation(10, 20, pixelLocation));
    assertEquals(0.0, pixelLocation.getX(), 1e-8);
    assertEquals(0.0, pixelLocation.getY(), 1e-8);
    assertTrue(locator.getPixelLocation(11, 21, pixelLocation));
    assertEquals(1.0, pixelLocation.getX(), 1e-8);
    assertEquals(1.0, pixelLocation.getY(), 1e-8);
}