public void When_Passing_Null_Parameter_Then_Exception_Is_Thrown() { // ARRANGE InitializeFakeObjects(); // ACT & ASSERT Assert.ThrowsAsync <ArgumentNullException>(() => _removeAuthenticationProviderAction.ExecuteAsync(null)); }
public Task <ActionResult> DeleteAuthenticationProvider(string name) { return(_removeAuthenticationProviderAction.ExecuteAsync(name)); }