OverpassQuery extends AbstractOverpassQuery { public OverpassFilterQuery filterQuery() { return new OverpassFilterQuery(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 testFilterQuery() throws Exception { OverpassFilterQuery filterQuery = query.filterQuery(); assertThat(filterQuery, isA(OverpassFilterQuery.class)); }