public void Ctor_ShouldThrowExceptionIfSignInManagerIsNull() { CustomAssertions.AssertArgumentNullExceptionThrown(() => { _controller.WithSignInManager(null).Build(); }, "signInManager"); }
public void Ctor_ShouldThrowExceptionIfPolicyServiceIsNull() { CustomAssertions.AssertArgumentNullExceptionThrown(() => { _controller.WithPolicyService(null).Build(); }, "policyService"); }
public void AddInsurancePolicyApplication_ShouldThrowExceptionIfPolicyIsNull() { CustomAssertions.AssertArgumentNullExceptionThrown(() => { _service.Build().AddInsurancePolicyApplication(null); }, "policy"); }
public void Ctor_ShouldThrowExceptionIfPasswordHasherIsNull() { CustomAssertions.AssertArgumentNullExceptionThrown(() => { _userManager.WithPasswordHasher(null).Build(); }, "passwordHasher"); }
public void Ctor_ShouldThrowExceptionIfInsurancePolicyRepositoryIsNull() { CustomAssertions.AssertArgumentNullExceptionThrown(() => { _service.WithInsurancePolicyRepository(null).Build(); }); }