@Test
public void testConvertApplication() throws Exception {

	GetConfigurationRequest request = new GetConfigurationRequest();
	request.setApplicationId(APP_ID);
	GetConfigurationResponse response = (GetConfigurationResponse) dispatcher.execute(
			GetConfigurationRequest.COMMAND, request, null, "en");
	if (response.isError()) {
		response.getErrors().get(0).printStackTrace();
	}
	Assert.assertFalse(response.isError());
	ClientApplicationInfo appInfo = response.getApplication();
	Assert.assertNotNull(appInfo);
	Assert.assertEquals(APP_ID, appInfo.getId());
	Assert.assertEquals(96, appInfo.getScreenDpi());
	// widget data
	Assert.assertNotNull(appInfo.getWidgetInfo());
	Assert.assertNotNull(appInfo.getWidgetInfo("mapSelect"));
	Assert.assertNull(appInfo.getWidgetInfo("layerTree"));
	Assert.assertEquals("map1, map2",
			((ClientApplicationInfo.DummyClientWidgetInfo) appInfo.getWidgetInfo("mapSelect")).getDummy());
	verifyMap(appInfo.getMaps().get(2));
}