public void CapturedErrorIsCodeObjectTypeDifferenceTest() { var ce = new CapturedError(); ce.ErrorCode("Level-1", "Cap", 12); Assert.IsFalse(ce.IsCode("Level-1", "Cap", "12")); }
public void CapturedErrorIsCodeMismatchValueTest() { var ce = new CapturedError(); ce.ErrorCode("Level-1", "Cap", 12); Assert.IsFalse(ce.IsCode("Level-1", "Cap", 14)); }
public void CapturedErrorIsCodeSoughtTooLongTest() { var ce = new CapturedError(); ce.ErrorCode("Level-1", "Cap", 12); Assert.IsFalse(ce.IsCode("Level-1", "Cap", 12, "Too long")); }
public void CapturedErrorIsCodeTest() { var ce = new CapturedError(); ce.ErrorCode("Level-1", "Cap", 12); Assert.IsTrue(ce.IsCode("Level-1", "Cap", 12)); }