Example #1
0
        public async Task ShouldGetAllPhonesForEachBusinessEntityID(int entityID, int numberOfRecords)
        {
            var phoneParams = new PersonPhoneParameters {
                PageNumber = 1, PageSize = 10
            };
            var phones = await _phoneRepo.GetPhones(entityID, phoneParams);

            var count = phones.Count;

            Assert.Equal(count, numberOfRecords);
        }