public async Task Then_Gets_Accounts_From_AccountApi(
            string userId,
            [Frozen] Mock <IAccountApiClient> mockAccountApiClient,
            Infrastructure.Services.EmployerAccountService employerAccountService)
        {
            mockAccountApiClient
            .Setup(client => client.GetUserAccounts(It.IsAny <string>()))
            .ReturnsAsync(_accountDetailViewModels.ToList);

            await employerAccountService.GetEmployerIdentifiersAsync(userId);

            mockAccountApiClient.Verify(client => client.GetUserAccounts(userId), Times.Once);
        }
        public async Task Then_Maps_Accounts_To_EmployerIdentifiers(
            string userId,
            [Frozen] Mock <IAccountApiClient> mockAccountApiClient,
            Infrastructure.Services.EmployerAccountService employerAccountService)
        {
            mockAccountApiClient
            .Setup(client => client.GetUserAccounts(It.IsAny <string>()))
            .ReturnsAsync(_accountDetailViewModels.ToList);

            var result = await employerAccountService.GetEmployerIdentifiersAsync(userId);

            result.Should().BeEquivalentTo(_accountDetailViewModels.Select(model => new EmployerIdentifier
            {
                AccountId    = model.HashedAccountId,
                EmployerName = model.DasAccountName
            }));
        }