public async Task DeleteImageWithEmptyImageIdThrows() { var client = new ComputeServiceClient(GetValidCreds(), "Nova", CancellationToken.None, this.ServiceLocator); await client.DeleteImage(string.Empty); }
public async Task CanDeleteImage() { this.ServicePocoClient.DeleteImageDelegate = async (imageId) => { await Task.Run(() => Assert.AreEqual(imageId, "12345")); }; var client = new ComputeServiceClient(GetValidCreds(), "Nova", CancellationToken.None, this.ServiceLocator); await client.DeleteImage("12345"); }