Package org.iplantc.agave.client.model

Examples of org.iplantc.agave.client.model.MultipleSubscriptionResponse


      ClientsApi api = new ClientsApi();
      MultipleClientResponse response = api.list(Settings.API_USERNAME, Settings.API_PASSWORD);
      List<Client> clients = response.getResult();
      Assert.assertFalse(clients.isEmpty(), "No clients returned from client service listing");
     
      MultipleSubscriptionResponse subscriptionResponse = api.listSubscriptionsForClient(Settings.API_USERNAME, Settings.API_PASSWORD, clients.get(0).getName());
      Assert.assertNotNull(subscriptionResponse.getResult(), "Null subscriptions returned for client " + clients.get(0).getName());
      Assert.assertFalse(subscriptionResponse.getResult().isEmpty(), "No subscriptions returned for client " + clients.get(0).getName());
    } catch (ApiException e) {
      Assert.fail("Failed to query all apps", e);
    }
  }
View Full Code Here

TOP

Related Classes of org.iplantc.agave.client.model.MultipleSubscriptionResponse

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.