Ejemplo n.º 1
0
        public void GetEmailsForLocation_When_executed_create_list_of_SportEmails_for_location(int?locationId, int sportId, int expected)

        {
            LoadEmails();
            var emails = _emailList[sportId - 1];
            var actual = _worker.GetAddressesForLocation(locationId, emails);

            Assert.Equal(expected, actual.Count);
        }