public async Task ThenReturnsView() { var fixture = new GetApprenticeDetailsFixture(); var result = await fixture.Act(); result.VerifyReturnsViewModel().WithModel <DetailsViewModel>(); }
public async Task ThenCallsModelMapper() { var fixture = new GetApprenticeDetailsFixture(); await fixture.Act(); fixture.VerifyMapperWasCalled(); }