public String getQuery() throws Exception {
        return getQuery(weatherConfiguration.getLocation());
    }
@Test
    public void testBoxedStationQuery() throws Exception {
        WeatherConfiguration weatherConfiguration = new WeatherConfiguration();
        weatherConfiguration.setLon("4");
        weatherConfiguration.setLat("52");
        weatherConfiguration.setRightLon("6");
        weatherConfiguration.setTopLat("54");
        weatherConfiguration.setZoom(8);
        weatherConfiguration.setUnits(WeatherUnits.METRIC);
        weatherConfiguration.setAppid(APPID);
        weatherConfiguration.setWeatherApi(WeatherApi.Station);
        WeatherQuery weatherQuery = new WeatherQuery(weatherConfiguration);
        weatherConfiguration.setGeoLocationProvider(geoLocationProvider);
        String query = weatherQuery.getQuery();
        assertThat(query, is(
                "http://api.openweathermap.org/data/2.5/box/station?bbox=4,52,6,54,8&cluster=yes&lang=en&units=metric&APPID=9162755b2efa555823cfe0451d7fff38"));
    }