Beispiel #1
0
        public async Task ThenReturnsView()
        {
            var fixture = new WhenGettingDeleteCohortFixture();

            var result = await fixture.Act();

            result.VerifyReturnsViewModel().WithModel <DeleteCohortViewModel>();
        }
Beispiel #2
0
        public async Task ThenCallsModelMapper()
        {
            var fixture = new WhenGettingDeleteCohortFixture();

            await fixture.Act();

            fixture.VerifyMapperWasCalled();
        }