public void DeleteTaskFromRepo() { mock.Setup(a => a.DeleteaskById(1)).Returns(true); TaskBusiness appBusiness = new TaskBusiness(mock.Object, mockuser.Object); var result = appBusiness.DeleteaskById(1); Assert.AreEqual(true, result); }
public void DeleteTaskFromRepo() { mock.Setup(a => a.DeleteaskById(1)).Returns(true); TaskBusiness appBusiness = new TaskBusiness(mock.Object, mockuser.Object); var result = appBusiness.DeleteaskById(1); Assert.AreEqual(true, result); }