예제 #1
0
        public async Task AgreementHashedIdMapsCorrectly()
        {
            var f      = new ViewEmployerAgreementMapperTestFixture();
            var result = await f.Map();

            f.VerifyAgreementIdIsFetchedAndEncodedCorrectly(result.AgreementHashedId);
        }
예제 #2
0
        public async Task AgreementHashedIdMapsCorrectlyWhenThereAreNoAgreements()
        {
            var f      = new ViewEmployerAgreementMapperTestFixture().NoAgreements();
            var result = await f.Map();

            Assert.IsNull(result.AgreementHashedId);
        }
예제 #3
0
        public async Task AccountHashedIdMapsCorrectly()
        {
            var f      = new ViewEmployerAgreementMapperTestFixture();
            var result = await f.Map();

            Assert.AreEqual(f.Source.AccountHashedId, result.AccountHashedId);
        }