Exemplo n.º 1
0
        public async Task AgreementHashedIdMapsCorrectly()
        {
            var f      = new ViewEmployerAgreementMapperTestFixture();
            var result = await f.Map();

            f.VerifyAgreementIdIsFetchedAndEncodedCorrectly(result.AgreementHashedId);
        }
Exemplo n.º 2
0
        public async Task AgreementHashedIdMapsCorrectlyWhenThereAreNoAgreements()
        {
            var f      = new ViewEmployerAgreementMapperTestFixture().NoAgreements();
            var result = await f.Map();

            Assert.IsNull(result.AgreementHashedId);
        }
Exemplo n.º 3
0
        public async Task AccountHashedIdMapsCorrectly()
        {
            var f      = new ViewEmployerAgreementMapperTestFixture();
            var result = await f.Map();

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