Ejemplo n.º 1
0
        public void GetEmailsForCategory_When_executed_create_list_of_SportEmails_for_caregoryn(int?categoryId, int sportId, int expected)

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

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