GpsTrace implements JsonRenderable { @Override public String toJson() { return Json.toJson(this); } GpsTrace(
            @Nonnull final Collection<GpsTracePoint> gpsTracePoints);  GpsTrace(); @Nonnull List<GpsTracePoint> getGpsTracePoints(); @Nonnull GpsTrace withGpsTracePoints(@Nonnull final Collection<GpsTracePoint> gpsTracePoints1,
                                       @Nonnull final GpsTracePoint... gpsTracePoints2); @Nonnull GpsTrace withGpsTracePoints(@Nonnull final GpsTracePoint... gpsTracePoints); @Nullable GpsTracePoint getLastGpsTracePoint(); @Nonnull static Collection<GpsTracePoint> limitSize(
            @Nonnull final Duration maxAge,
            @Nonnull final Integer maxSize,
            @Nonnull final Collection<GpsTracePoint> gpsTracePoints1,
            @Nonnull final GpsTracePoint... gpsTracePoints2); boolean canEqual(@Nonnull final Object obj); @Override boolean equals(@Nullable final Object obj); @Override int hashCode(); @Override String toJson(); @Override String toString();  }
@Test public void testToJson() { LOG.info("testToJson"); Assert.assertEquals( "{\"gpsTracePoints\":[]}", TestUtils.replaceUniques(x.toJson())); Assert.assertEquals( "{\"gpsTracePoints\":[{\"time\":@DATETIME,\"position\":{\"lat\":1.0,\"lon\":2.0}}]}", TestUtils.replaceUniques(y.toJson())); }