@Test
public void testViewBoundsLimitOption() throws Exception {

	GetMapConfigurationRequest request = new GetMapConfigurationRequest();
	request.setApplicationId("vectorsMapWithViewBoundsOption");
	request.setMapId("viewBoundsLimitTestMap");
	GetMapConfigurationResponse response = (GetMapConfigurationResponse) dispatcher.execute(
			GetMapConfigurationRequest.COMMAND, request, null, "en");
	if (response.isError()) {
		response.getErrors().get(0).printStackTrace();
	}
	Assert.assertFalse(response.isError());
	ClientMapInfo mapInfo = response.getMapInfo();
	Assert.assertNotNull(mapInfo);
	// ViewBounds LimitOption
	BoundsLimitOption boundsLimitOption = mapInfo.getViewBoundsLimitOption();
	Assert.assertNotNull(boundsLimitOption);
	Assert.assertEquals(BoundsLimitOption.CENTER_WITHIN_MAX_BOUNDS, boundsLimitOption);
}