assertNotNull(testSetup.getInstanceById(testInstance.getId(), client));
}
@Test
public void listTestInstance() throws DeltaCloudClientException {
Instance instance = testSetup.getClient().listInstances(testSetup.getTestInstance().getId());
assertNotNull(instance);
Instance testInstance = testSetup.getTestInstance();
assertEquals(testInstance.getId(), instance.getId());
assertInstance(
testInstance.getName()
, testInstance.getOwnerId()
, testInstance.getImageId()
, testInstance.getRealmId()
, testInstance.getProfileId()
, testInstance.getMemory()
, testInstance.getPrivateAddresses()
, testInstance.getPublicAddresses()
, instance);
}