@Test
public void listSubscriptionsForClient() {
try {
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());