OverpassQuery extends AbstractOverpassQuery { public OverpassQuery boundingBox(double southernLat, double westernLon, double northernLat, double easternLon) { builder.append(String.format(Locale.US, "[bbox:%s,%s,%s,%s]", southernLat, westernLon, northernLat, easternLon )); return this; } OverpassQuery();   OverpassQuery(OverpassQueryBuilder builder); OverpassQuery format(OutputFormat outputFormat); OverpassQuery timeout(int timeout); OverpassQuery boundingBox(double southernLat, double westernLon, double northernLat, double easternLon); OverpassFilterQuery filterQuery(); OverpassQuery output(int limit); OverpassQuery output(OutputVerbosity verbosity, OutputModificator modificator, OutputOrder order, int limit); @Override String build();  }
@Test public void testBoundingBox() throws Exception { query.boundingBox(1.00000001, 2.00000002, 3.00000003, 4.00000004); verify(builder).append("[bbox:1.00000001,2.00000002,3.00000003,4.00000004]"); }