public void InsetTextSetCorrectlyForNoPreviouslySignedAgreements(int agreementVersion, string expectedResult)
        {
            var model = new AgreementTemplateViewModel
            {
                VersionNumber = agreementVersion
            };

            Assert.AreEqual(expectedResult, model.InsetText(new List <OrganisationAgreementViewModel>()));
        }
        public void InsetTextSetCorrectlyForPreviouslySignedv3Agreements(int agreementVersion, string expectedResult)
        {
            var model = new AgreementTemplateViewModel
            {
                VersionNumber = agreementVersion
            };

            var agreements = new List <OrganisationAgreementViewModel>
            {
                new OrganisationAgreementViewModel
                {
                    SignedDate = DateTime.Today,
                    Template   = new AgreementTemplateViewModel
                    {
                        VersionNumber = 3
                    }
                }
            };

            Assert.AreEqual(expectedResult, model.InsetText(agreements));
        }