> + public void testGetKey() {
> + Key getKey = api().getKey(key);
> + assertNotNull(getKey);
> + assertTrue(getKey.action().equals("get"));
> + assertTrue(getKey.node().value().equals(value));
> + }
> +
> + @Test(dependsOnMethods = "testGetKey")
> + public void testDeleteKey() {
> + Key deletedKey = api().deleteKey(key);
> + assertNotNull(deletedKey);
> + assertTrue(deletedKey.action().equals("delete"));
> + assertTrue(deletedKey.prevNode().value().equals(value));
> + }
> +
> + @Test(dependsOnMethods = "testDeleteKey")
Don't depend on other tests. Just try to get a random value.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/234/files#r52988987