Example #1
0
        public async Task ShouldReturnAccount()
        {
            var result = await EmployerCommitmentOrchestrator.GetApprenticeshipEmployerType(HashedAccountId);

            Assert.AreEqual(Account.ApprenticeshipEmployerType, result);
        }
Example #2
0
        public async Task ShouldCallServiceWithDecodedAccountId()
        {
            await EmployerCommitmentOrchestrator.GetApprenticeshipEmployerType(HashedAccountId);

            MockEmployerAccountService.Verify(x => x.GetAccount(AccountId), Times.Once);
        }