assertTrue(info.getUser() == null);
}
@Test
public void infoForUserAvailable() throws Exception {
CloudInfo info = connectedClient.getCloudInfo();
assertNotNull(info.getName());
assertNotNull(info.getSupport());
assertNotNull(info.getBuild());
assertNotNull(info.getSupport());
assertNotNull(info.getSupport());
assertEquals(CCNG_USER_EMAIL, info.getUser());
assertNotNull(info.getLimits());
// Just ensure that we got back some sensible values
assertTrue(info.getLimits().getMaxApps() > 0 && info.getLimits().getMaxApps() < 1000);
assertTrue(info.getLimits().getMaxServices() > 0 && info.getLimits().getMaxServices() < 1000);
assertTrue(info.getLimits().getMaxTotalMemory() > 0 && info.getLimits().getMaxTotalMemory() < 100000);
assertTrue(info.getLimits().getMaxUrisPerApp() > 0 && info.getLimits().getMaxUrisPerApp() < 100);
}