> + List<Snapshot> snapshots = snapshotApi().getList();
> +
> + assertNotNull(snapshots);
> + assertFalse(snapshots.isEmpty());
> + }
> +
> + @Test
> + public void testGetSnapshot() {
> + Snapshot snapshot = snapshotApi().getSnapshot(testSnapshot.id());
> +
> + assertNotNull(snapshot);
> + assertEquals(snapshot.id(), testSnapshot.id());
> + assertEquals(snapshot.properties().name(), "test-snapshot");
> + }
> +
> + @Test(dependsOnMethods = "testGetSnapshot")
Consider changing this to depend on the create snapshot test once it exists.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/244/files#r55017544