public async Task DeleteFloatingIpWithEmptyFloatingIpIdThrows() { var client = new NetworkServiceClient(GetValidCreds(), "Neutron", CancellationToken.None, this.ServiceLocator); await client.DeleteFloatingIp(string.Empty); }
public async Task CanDeleteFloatingIp() { var ipId = "12345"; this.ServicePocoClient.DeleteFloatingIpDelegate = (ip) => Task.Factory.StartNew(() => Assert.AreEqual(ipId, ip)); var client = new NetworkServiceClient(GetValidCreds(), "Neutron", CancellationToken.None, this.ServiceLocator); await client.DeleteFloatingIp(ipId); }