public async Task ShowApprovalOptionIsMappedCorrectlyWithoutATransfer(bool isAgreementSigned, bool expectedShowApprovalOption)
        {
            var fixture = new DetailsViewModelMapperTestsFixture();

            fixture.SetIsAgreementSigned(isAgreementSigned);
            var result = await fixture.Map();

            Assert.AreEqual(expectedShowApprovalOption, result.EmployerCanApprove);
        }
        public async Task OptionsTitleIsMappedCorrectlyWithoutATransfer(bool isAgreementSigned, string expectedOptionsTitle)
        {
            var fixture = new DetailsViewModelMapperTestsFixture();

            fixture.SetIsAgreementSigned(isAgreementSigned);
            var result = await fixture.Map();

            Assert.AreEqual(expectedOptionsTitle, result.OptionsTitle);
        }
        public async Task IsAgreementSignedIsMappedCorrectlyWithoutATransfer(bool isAgreementSigned, bool expectedIsAgreementSigned)
        {
            var fixture = new DetailsViewModelMapperTestsFixture();

            fixture.SetIsAgreementSigned(isAgreementSigned);
            var result = await fixture.Map();

            Assert.AreEqual(expectedIsAgreementSigned, result.IsAgreementSigned);
        }
        public async Task ShowApprovalOptionIsMappedCorrectlyWhenOverlap(bool hasOverlap, bool expectedEmployerCanApprove)
        {
            var fixture = new DetailsViewModelMapperTestsFixture();

            fixture.SetIsAgreementSigned(true).SetUlnOverlap(hasOverlap);
            var result = await fixture.Map();

            Assert.AreEqual(expectedEmployerCanApprove, result.EmployerCanApprove);
        }
        public async Task ShowGotoHomePageOptionIsMappedCorrectly(bool isAgreementSigned, bool isEmployerComplete, bool expected)
        {
            var fixture = new DetailsViewModelMapperTestsFixture();

            fixture.SetIsAgreementSigned(isAgreementSigned);
            fixture.SetEmployerComplete(isEmployerComplete);
            var result = await fixture.Map();

            Assert.AreEqual(expected, result.ShowGotoHomePageOption);
        }
        public async Task ShowApprovalOptionMessageIsMappedCorrectlyWithoutATransfer(bool isAgreementSigned, bool showApprovalOption,
                                                                                     bool isApprovedByProvider, bool expectedShowApprovalOptionMessage)
        {
            var fixture = new DetailsViewModelMapperTestsFixture();

            fixture.Cohort.IsApprovedByProvider = isApprovedByProvider;
            fixture.SetIsAgreementSigned(isAgreementSigned);
            var result = await fixture.Map();

            Assert.AreEqual(expectedShowApprovalOptionMessage, result.ShowApprovalOptionMessage);
        }