> + server.play();
> +
> + // Send the request and check the response
> + try {
> + GlacierClient client = getGlacierClient(server.getUrl("/"));
> + VaultMetadata vm = client.describeVault(VAULT_NAME);
> + RecordedRequest request = server.takeRequest();
> + assertEquals(request.getRequestLine(), "GET /-/vaults/" +
> VAULT_NAME + " HTTP/1.1");
> + assertEquals(vm.getVaultName(), "examplevault");
> + assertEquals(vm.getVaultARN(),
> "arn:aws:glacier:us-east-1:012345678901:vaults/examplevault");
> + assertEquals(vm.getSizeInBytes(), 78088912);
> + assertEquals(vm.getNumberOfArchives(), 192);
> + } finally {
> + server.shutdown();
> + }
> + }
```testDescribeNonExistentVault``` captures this.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-aws/pull/4/files#r12984805