### Question:
OverpassBridge { public String buildOverpassQuery() { if(exceedsQueryLimit()) { return buildQueryFullyRecursive(); } else { return buildQueryEntityConcat(); } } OverpassBridge(Config conf);  OverpassBridge(Area bounds, OsmDef osm); File getResult(); String buildOverpassQuery();  }### Answer:
@Test public void testBuildOverpassQuery() { OverpassBridge ob = new OverpassBridge(c); String expected = "(way[\"landuse\"~\"forest|wood\"](48.39650842,11.73723469,48.40549158,11.75076531);way[\"waterway\"=\"riverbank\"](48.39650842,11.73723469,48.40549158,11.75076531);way[\"bridge\"](48.39650842,11.73723469,48.40549158,11.75076531);way[\"highway\"~\"_link\"](48.39650842,11.73723469,48.40549158,11.75076531););(._;>;);out meta;"; String actual = ob.buildOverpassQuery(); assertEquals(expected, actual); }