Пример #1
0
        public async Task GetBeneficiaries_Return_All_Beneficiaries()
        {
            var beneficiaries = await repository.GetAllBeneficiaries();

            Assert.AreEqual(3, beneficiaries.Count);
        }
 public virtual async Task <List <Beneficiary> > GetAllBeneficiaries()
 {
     return(await _beneficiaryRepository.GetAllBeneficiaries());
 }