// Unmanaged networks do not have IPs until attached to VMs
assertEquals(ips.size(), 0);
}
public void testListUnusedIps() {
UnmanagedIpsDto ipsDto = env.context.getApiContext().getApi().getInfrastructureApi()
.listUnmanagedIps(unmanagedNetwork.unwrap(), IpOptions.builder().limit(1).build());
int totalIps = ipsDto.getTotalSize();
List<UnmanagedIp> ips = unmanagedNetwork.listUnusedIps();
assertEquals(ips.size(), totalIps);
}