}
@Test(expected = DeltaCloudClientException.class)
public void cannotListIfNotAuthenticated() throws MalformedURLException, DeltaCloudClientException {
DeltaCloudClientImpl client = new DeltaCloudClientImpl(MockIntegrationTestContext.DELTACLOUD_URL, "badUser", "badPassword");
client.listImages();
}
@Test
public void assertDefaultImages() throws DeltaCloudClientException {
List<Image> images = testSetup.getClient().listImages();