CommandResponse commandResponse = commandDispatcher.execute(GetLocationForStringRequest.COMMAND, request, null,
"en");
Assert.assertNotNull(commandResponse);
Assert.assertTrue(commandResponse instanceof GetLocationForStringResponse);
GetLocationForStringResponse response = (GetLocationForStringResponse)commandResponse;
Assert.assertTrue(response.isLocationFound());
Assert.assertEquals("booischot", response.getCanonicalLocation());
Assert.assertNotNull(response.getCenter());
Assert.assertNotNull(response.getBbox());
Assert.assertEquals(621468.063486916, response.getCenter().getX(), DELTA);
Assert.assertEquals(5706881.117852388, response.getCenter().getY(), DELTA);
Assert.assertEquals(621325.5343735645, response.getBbox().getX(), DELTA);
Assert.assertEquals(5706809.617868648, response.getBbox().getY(), DELTA);
Assert.assertEquals(285.05822670296766, response.getBbox().getWidth(), DELTA);
Assert.assertEquals(142.99996748007834, response.getBbox().getHeight(), DELTA);
Assert.assertEquals("static-regex", response.getGeocoderName());
Assert.assertNotNull(response.getUserData());
Assert.assertEquals("schotbooi", ((UserDataTestInfo)response.getUserData()).getValue());
}