assertNotNull(response, "Expected a response from listing addons, but the result is null.");
}
@Test(dataProvider = "newApp", retryAnalyzer = GeneralRetryAnalyzer.class)
public void testListAppAddons(App app) {
connection.execute(new AddonInstall(app.getName(), "heroku-postgresql:dev"), apiKey);
Request<List<Addon>> req = new AppAddonsList(app.getName());
List<Addon> response = connection.execute(req, apiKey);
assertNotNull(response);
assertTrue(response.size() > 0, "Expected at least one addon to be present.");
assertNotNull(response.get(0).getName());