LayoverLocation implements Serializable { public boolean isSignificant() { return _samples >= NUM_SAMPLES_FOR_SIGNIFICANCE; } LayoverLocation(PausedLocation pausedLocation);  LayoverLocation(CoordinatePoint centroid, Date lastUpdateTime,
      int samples); CoordinatePoint getCentroid(); int getSamples(); boolean isSignificant(); boolean isStale(long t); boolean includesLocation(CoordinatePoint location); void update(CoordinatePoint location, Date updateTime);  }
@Test public void testIsSignificant() { LayoverLocation location = new LayoverLocation( point(47.668523, -122.290170), mins(0), 1); assertFalse(location.isSignificant()); location.update(point(47.668523, -122.290170), mins(1)); assertFalse(location.isSignificant()); location.update(point(47.668523, -122.290170), mins(3)); assertTrue(location.isSignificant()); }