public async Task ThenCallsModelMapper() { var fixture = new SelectEmployerFixture(); await fixture.Act(); fixture.VerifyMapperWasCalled(); }
public async Task ThenReturnsView() { var fixture = new SelectEmployerFixture(); var result = await fixture.Act() as ViewResult; Assert.NotNull(result); Assert.AreEqual(typeof(SelectEmployerViewModel), result.Model.GetType()); }