コード例 #1
0
        public void GetAllAssociates()
        {
            var associatesList = associatesRepository.GetAllAssociates().ToList();

            if (associatesList == null)
            {
                Assert.Null(associatesList);
            }
            Assert.GreaterOrEqual(associatesList.Count(), 0);
        }
コード例 #2
0
 public IEnumerable <Associate> GetAllAssociates()
 {
     return(associatesRepository.GetAllAssociates());
 }