public void EndTaskExceptionWithMessageExceptionTest() { var e = new EndTaskException("It went wrong"); Assert.IsTrue(e.Id == EndTaskException.EndTask); Assert.IsTrue(e.Message == "It went wrong"); Assert.IsTrue(e.ToString() == "It went wrong"); }
public void EndTaskExceptionBasicExceptionTest() { var e = new EndTaskException(); Assert.IsTrue(e.Id == EndTaskException.EndTask); Assert.IsTrue(e.Message == "End Task invoked"); Assert.IsTrue(e.ToString() == "End Task invoked"); }