> + assertNotNull(dataCenter);
> + }
> +
> + @Test(expectedExceptions = ResourceNotFoundException.class)
> + public void testGetNonExistingDataCenter() {
> + api.dataCenterApi().getDataCenter("random-non-existing-id");
> + }
> +
> + @Test
> + public void testDeleteNonExistingDataCenterMustReturnFalse() {
> + Boolean result =
> api.dataCenterApi().deleteDataCenter("random-non-existing-id");
> +
> + assertFalse(result);
> + }
> +
> + @AfterClass
Add the `alwaysRun = true` parameter to make sure this runs even if some test
fails.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/72/files#r22238126