public void GetParentTasksTest_WithoutID() { Mock <ProjectManagerDBEntities> mockContext = MockparentTask(); var taskManagerBL = new ProjectManagerBL(mockContext.Object); List <ParentTask> tasks = taskManagerBL.GetParentTask(); Assert.IsNotNull(tasks); Assert.IsTrue(tasks.Count > 0); }
public IEnumerable <ParentTask> GetParentTask() { return(pbl.GetParentTask()); }