public async Task ShouldReturnAccount() { var result = await EmployerCommitmentOrchestrator.GetApprenticeshipEmployerType(HashedAccountId); Assert.AreEqual(Account.ApprenticeshipEmployerType, result); }
public async Task ShouldCallServiceWithDecodedAccountId() { await EmployerCommitmentOrchestrator.GetApprenticeshipEmployerType(HashedAccountId); MockEmployerAccountService.Verify(x => x.GetAccount(AccountId), Times.Once); }