### Question:
WithinCircleQueryPredicate extends QueryModelQueryPredicate<T> { @Override protected String render() { return String.format(Locale.ENGLISH, " within circle(%f, %f, %f)", center.getLongitude(), center.getLatitude(), radius); } WithinCircleQueryPredicate(final QueryModel<T> queryModel, final Point center, final Double radius);   }### Answer:
@Test public void worksWithDeAsDefaultLocale() { final Locale defaultLocale = Locale.getDefault(); try { Locale.setDefault(Locale.GERMANY); final WithinCircleQueryPredicate queryPredicate = new WithinCircleQueryPredicate(null, Point.of(1.0, 2.0), 3.0); assertThat(queryPredicate.render()).isEqualTo(" within circle(1.000000, 2.000000, 3.000000)"); } finally { Locale.setDefault(defaultLocale); } }