public void GetAllAssociates() { var associatesList = associatesRepository.GetAllAssociates().ToList(); if (associatesList == null) { Assert.Null(associatesList); } Assert.GreaterOrEqual(associatesList.Count(), 0); }
public IEnumerable <Associate> GetAllAssociates() { return(associatesRepository.GetAllAssociates()); }