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