@Test
public void testZonesCommandPrintsZones() throws Exception {
final ZonesCommand zonesCommand = new ZonesCommand(defaultProviderConfig);
final ZoneClient zoneClient = mock(ZoneClient.class);
when(client.getZoneClient()).thenReturn(zoneClient);
when(zoneClient.listZones()).thenReturn(zones);
zonesCommand.doExecuteWithContext(client, out);
out.close();
final String result = byteArrayOutputStream.toString();