### Question:
GHPoint { public boolean isValid() { return !Double.isNaN(lat) && !Double.isNaN(lon); } GHPoint();  GHPoint( double lat, double lon ); double getLon(); double getLat(); boolean isValid(); @Override int hashCode(); @Override boolean equals( Object obj ); @Override String toString(); Double[] toGeoJson(); static GHPoint parse( String str ); public double lat; public double lon; }### Answer:
@Test public void testIsValid() { GHPoint instance = new GHPoint(); assertFalse(instance.isValid()); instance.lat = 1; assertFalse(instance.isValid()); instance.lon = 1; assertTrue(instance.isValid()); }