> +      ProfitBricksApi pbApi = api( server.getUrl( rootUrl ) );
> +      StorageApi api = pbApi.storageApi();
> +
> +      String storageId = "qswdefrg-qaws-qaws-defe-rgrgdsvcxbrh";
> +
> +      String content = "<ws:deleteStorage><storageId>" + storageId + 
> "</storageId></ws:deleteStorage>";
> +
> +      try {
> +         boolean result = api.deleteStorage( storageId );
> +         assertRequestHasCommonProperties( server.takeRequest(), content );
> +         assertTrue( result );
> +      } finally {
> +         pbApi.close();
> +         server.shutdown();
> +      }
> +   }

Add a test to verify the configured delete fallback.

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/128/files#r23725798

Reply via email to