> @@ -138,29 +150,34 @@ public void testDeleteDrives() throws Exception {
> for (DriveInfo driveInfo : createdDrives) {
> stringListBuilder.add(driveInfo.getUuid());
> }
> - api.deleteDrives(stringListBuilder.build());
> + ImmutableList<String> uuids = stringListBuilder.build();
> + api.deleteDrives(uuids);
> +
> + // Verify all deleted drives no longer exist
> + FluentIterable<Drive> drives = api.listDrives().concat();
> + assertFalse(any(transform(drives, extractUuid()), in(uuids)));
Look who's being all functional here ;-)
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/38/files#r7849416