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