public async Task When_Passing_Empty_Parameter_Then_Exception_Is_Thrown() { // ARRANGE IntializeFakeObjects(); // ACT & ASSERT await Assert.ThrowsAsync <ArgumentNullException>(() => _deleteAuthorizationPolicyAction.Execute(null)); }
public Task <bool> DeletePolicy(string policyId) { return(_deleteAuthorizationPolicyAction.Execute(policyId)); }