@Test
public void testOfferingCommandsPrintsServiceOfferings() throws Exception {
final OfferingClient offeringClient = mock(OfferingClient.class);
when(client.getOfferingClient()).thenReturn(offeringClient);
when(offeringClient.listServiceOfferings()).thenReturn(serviceOfferings);
final OfferingsCommand offeringsCommand = new OfferingsCommand(defaultProviderConfig);
offeringsCommand.setServiceOffering(true);
offeringsCommand.doExecuteWithContext(client, out);
out.close();