public async Task DeleteServerWithEmptyServerIdThrows() { var client = new ComputeServiceClient(GetValidCreds(), "Nova", CancellationToken.None, this.ServiceLocator); await client.DeleteServer(string.Empty); }
public async Task CanDeleteServer() { this.ServicePocoClient.DeleteServerDelegate = async (serverId) => { await Task.Run(() => Assert.AreEqual(serverId, "12345")); }; var client = new ComputeServiceClient(GetValidCreds(), "Nova", CancellationToken.None, this.ServiceLocator); await client.DeleteServer("12345"); }