@Test(dependsOnMethods = {"delete"}) public void doesNotExist() throws Exception { for (String zoneId : zones) { QueueApi queueApi = api.getQueueApiForZoneAndClient(zoneId, CLIENT_ID); boolean success = queueApi.exists("jclouds-test-1"); assertFalse(success); } }
@Test(dependsOnMethods = {"listManyPagesOfQueuesManually"}) public void exists() throws Exception { for (String zoneId : zones) { QueueApi queueApi = api.getQueueApiForZoneAndClient(zoneId, CLIENT_ID); boolean success = queueApi.exists("jclouds-test-1"); assertTrue(success); } }