public void TestAccuracyTransformerExceptionConstructor3() { Exception ex = new Exception("Inner Exception Message"); TransformerException excp = new TransformerException("Error Message", ex); Assert.AreEqual(excp.Message, "Error Message", "Exception message has wrong value"); Assert.AreEqual(excp.InnerException, ex, "Inner exception has wrong value"); Assert.AreEqual(excp.InnerException.Message, "Inner Exception Message", "Inner exception message has wrong value"); }
public void TestAccuracyTransformerExceptionConstructor2() { TransformerException excp = new TransformerException("Error Message"); Assert.AreEqual(excp.Message, "Error Message", "Exception message has wrong value"); }
public void TestAccuracyTransformerExceptionConstructor1() { TransformerException excp = new TransformerException(); }