Image expectedImage = new ImageBuilder()
.ids(ENDPOINT + "/v1.0/vAppTemplate/" + templateId)
.uri(URI.create(ENDPOINT + "/v1.0/vAppTemplate/" + templateId))
.name("UbuntuServer-x64-2GB")
.operatingSystem(new CIMOperatingSystem(OSType.UBUNTU_64, "", null, "Ubuntu Linux (64-bit)"))
// TODO: this looks like a bug, as it says network interfaces
.description("This is a special place-holder used for disconnected network interfaces.")
.defaultCredentials(LoginCredentials.builder().identity("root").build())
.status(Image.Status.AVAILABLE)
.location(vdcLocation).build();