public String getQuery() throws Exception {
        return getQuery(weatherConfiguration.getLocation());
    }
@Test
    public void testSingleIdQuery() throws Exception {
        WeatherConfiguration weatherConfiguration = new WeatherConfiguration();
        weatherConfiguration.setIds("524901");
        weatherConfiguration.setMode(WeatherMode.XML);
        weatherConfiguration.setLanguage(WeatherLanguage.nl);
        weatherConfiguration.setAppid(APPID);
        WeatherQuery weatherQuery = new WeatherQuery(weatherConfiguration);
        weatherConfiguration.setGeoLocationProvider(geoLocationProvider);
        String query = weatherQuery.getQuery();
        assertThat(query, is(
                "http://api.openweathermap.org/data/2.5/weather?id=524901&lang=nl&mode=xml&APPID=9162755b2efa555823cfe0451d7fff38"));
    }