public async Task PostThenCallsConfirmRequestMapper()
        {
            var fixture = new WhenAddingNewPriceFixture();

            await fixture.Sut.Price(fixture.PriceViewModel);

            fixture.VerifyConfirmRequestMapperWasCalled();
        }
        public async Task GetThenCallsPriceViewModelMapper()
        {
            var fixture = new WhenAddingNewPriceFixture();

            await fixture.Sut.Price(fixture.PriceRequest);

            fixture.VerifyPriceViewMapperWasCalled();
        }
        public async Task PostThenReturnsARedirectResult()
        {
            var fixture = new WhenAddingNewPriceFixture();

            var result = await fixture.Sut.Price(fixture.PriceViewModel) as RedirectToRouteResult;

            Assert.NotNull(result);
            Assert.AreEqual(RouteNames.ApprenticeConfirm, result.RouteName);
        }
        public async Task GetThenReturnsView()
        {
            var fixture = new WhenAddingNewPriceFixture();

            var result = await fixture.Sut.Price(fixture.PriceRequest) as ViewResult;

            Assert.NotNull(result);
            Assert.AreEqual(typeof(PriceViewModel), result.Model.GetType());
        }