expect(addressClient.listPublicIPAddresses(allocatedOnly(true).networkId(networkId))).andReturn(
ImmutableSet.<PublicIPAddress> of());
AsyncCreateResponse job = AsyncCreateResponse.builder().id("1").jobId("2").build();
// make sure we created the job relating to a new ip
expect(addressClient.associateIPAddressInZone(zoneId, networkId(networkId))).andReturn(job);
expect(blockUntilJobCompletesAndReturnResult.apply(job)).andReturn(address);
replay(client);
replay(addressClient);