OverpassFilterQuery extends AbstractOverpassSubQuery { public OverpassFilterQuery around(double radius) { builder.around(radius); return this; } OverpassFilterQuery(OverpassQuery parent);   OverpassFilterQuery(OverpassQuery parent, OverpassQueryBuilder builder); OverpassFilterQuery prepareNext(); OverpassFilterQuery node(); OverpassFilterQuery rel(); OverpassFilterQuery way(); OverpassFilterQuery area(); OverpassFilterQuery amenity(String amenity); OverpassFilterQuery amenities(Set<String> amenities); OverpassFilterQuery tag(String name); OverpassFilterQuery tag(String name, String value); OverpassFilterQuery tagMultiple(String name, Set<String> values); OverpassFilterQuery tagNot(String name, String value); OverpassFilterQuery tagRegex(String name, String value); OverpassFilterQuery tagRegexNot(String name, String value); OverpassFilterQuery boundingBox(double southernLat, double westernLon, double northernLat, double easternLon); OverpassFilterQuery around(double radius); OverpassFilterQuery around(double radius, double lat, double lon); @Override String build();  }
@Test public void testAroundOnlyRadius() throws Exception { double radius = 1.0d; filterQuery.around(radius); verify(builder).around(radius); }
@Test public void testAround() throws Exception { double radius = 1.0d; double lat = 3.0d; double lon = 4.0d; filterQuery.around(radius, lat, lon); verify(builder).around(radius, lat, lon); }