AppsApi api = new AppsApi(token);
MultipleApplicationResponse response = api.list(false, false);
List<ApplicationSummary> apps = response.getResult();
Assert.assertFalse(apps.isEmpty(), "No apps returned from public and private query");
ApplicationSummary appSummary = apps.get(0);
SingleApplicationResponse appResponse = api.get(appSummary.getId());
Application app = appResponse.getResult();
Assert.assertNotNull(app, "Named app not returned from api");
} catch (ApiException e) {