Esempio n. 1
0
        public void GetTaskByIdTest()
        {
            Mock <TaskDBEntities> mockContext = MockDataSetList();
            var taskManagerBL = new TaskBL(mockContext.Object);
            var task          = taskManagerBL.Get(1);

            Assert.IsNotNull(task);
            Assert.AreEqual(1, task.Task_ID);
        }
Esempio n. 2
0
 public TaskSet Get(int id)
 {
     return(bl.Get(id));
 }