@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