> + assertTrue(dropletCreation.getEventId() > 0, "Droplet creation event
> id should be > 0");
> + }
> +
> + @Test(dependsOnMethods = "testCreateDroplet")
> + public void testGetDroplet() {
> + waitForEvent(dropletCreation.getEventId());
> + droplet = api.getDropletApi().get(dropletCreation.getId());
> +
> + assertNotNull(droplet, "Created droplet should not be null");
> + }
> +
> + @Test(dependsOnMethods = "testGetDroplet")
> + public void testListDroplets() {
> + List<Droplet> droplets = api.getDropletApi().list();
> +
> + assertTrue(droplets.size() > 0, "Droplet list should not be empty");
``!droplets.isEmpty()`?
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/49/files#r9166457