Exemple #1
0
        public async Task ThenReturnsView()
        {
            var fixture = new GetApprenticeDetailsFixture();

            var result = await fixture.Act();

            result.VerifyReturnsViewModel().WithModel <DetailsViewModel>();
        }
Exemple #2
0
        public async Task ThenCallsModelMapper()
        {
            var fixture = new GetApprenticeDetailsFixture();

            await fixture.Act();

            fixture.VerifyMapperWasCalled();
        }