> +
> + @Test
> + public void testGetAllSnapshots() {
> + List<Snapshot> snapshots = api.snapshotApi().getAllSnapshots();
> +
> + assertNotNull(snapshots);
> + assertTrue(snapshots.size() > 0);
> + }
> +
> + @Test
> + public void testGetSnapshot() {
> + Snapshot snapshot = api.snapshotApi().getSnapshot(snapshotId);
> +
> + assertNotNull(snapshot);
> + assertEquals(snapshot.id(), snapshotId);
> + }
Test execution order is not guaranteed. Configure the tests with the
`dependsOnMethod` attribute to make sure they run at the right time.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/136/files#r25060356