@Test
public void testToString() {

    final NicGeoPoint nicGeoPoint = new NicGeoPointImpl();
    nicGeoPoint.setXY(1234000, 4321000);
    nicGeoPoint.setDivergence(3.14159);
    String description = nicGeoPoint.toString();
    // We just look for the expected string-fragments, to see if the string-representation contains all that we
    // want.
    assertTrue(description.contains("123"));
    assertTrue(description.contains("432"));
    assertTrue(description.contains("38816025"));
    assertTrue(description.contains("14208363"));
    assertTrue(description.contains("3.14159"));
}