public async Task PostConfirmEmployerViewModel_WithValidModel_WithConfirmTrue_RedirectToDates() { var fixture = new PostConfirmEmployerFixture() .WithConfirmTrue(); var result = await fixture.Act(); result.VerifyReturnsRedirectToActionResult().WithActionName("StartDate"); }
public async Task PostConfirmEmployerViewModel_WithValidModel_WithConfirmFalse_ShouldRedirectToSelectEmployer() { var fixture = new PostConfirmEmployerFixture() .WithConfirmFalse(); var result = await fixture.Act(); result.VerifyReturnsRedirectToActionResult().WithActionName("SelectEmployer"); }