public void Should_Be_Able_To_Get_List_Of_All_Projects() { // arrange Mock<IProjectRepository> mockProjectRepository = this.GetMockProjectRepository_List(); ProjectService projectService = new ProjectService(mockProjectRepository.Object); // action List<ProjectData> projectList = projectService.GetListOfAllProjects(); // assert Assert.That(projectList, Is.Not.Null, "Projects NULL"); Assert.That(projectList.Count, Is.GreaterThan(0), "Projects - no data"); mockProjectRepository.VerifyAll(); }