GpsTracePoint implements JsonRenderable { @Override public String toJson() { return Json.toJson(this); } GpsTracePoint(
            @Nonnull final DateTime time,
            @Nonnull final GeoPoint position); @SuppressWarnings("ConstantConditions") @Deprecated private  GpsTracePoint(); @Nonnull DateTime getTime(); @Nonnull GeoPoint getPosition(); @Nonnull GpsTracePoint withTime(@Nonnull final DateTime time); @Nonnull GpsTracePoint withPosition(@Nonnull final GeoPoint position); 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( "{\"time\":@DATETIME,\"position\":{\"lat\":1.0,\"lon\":2.0}}", TestUtils.replaceUniques(x.toJson())); Assert.assertEquals( "{\"time\":@DATETIME,\"position\":{\"lat\":-1.0,\"lon\":-2.0}}", TestUtils.replaceUniques(y.toJson())); }