public void TestStringExceptionConstructor() { string message = "message"; Exception ex = new Exception(); IocException testException = new IocException(message, ex); Assert.AreEqual(message, testException.Message); Assert.AreEqual(ex, testException.InnerException); }
public void TestStringConstructor() { string message = "message"; IocException testException = new IocException(message); Assert.AreEqual(message, testException.Message); }