> +
> +/**
> + * @author inbar stolberg
> + */
> +@Test(groups = "live", testName = "AvailabilityZonesApiLiveTest")
> +public class AvailabilityZonesApiLiveTest extends BaseNovaApiLiveTest {
> +
> + @Test
> + public void testListAvailabilityZones() throws Exception {
> +
> + AvailabilityZoneAPI availabilityZoneApi =
> api.getAvailabilityZoneApi("RegionOne");
> + FluentIterable<? extends AvailabilityZone> zones =
> availabilityZoneApi.list();
> +
> + for (AvailabilityZone zone : zones) {
> + assertNotNull(zone.getName());
> + assertTrue(zone.getZoneState().isAvailable(), "zone: " +
> zone.getName() + "is not available.");
[minor] Probably need a space before the "is"?
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/179/files#r6996562