public void AssertHelper_WrongExceptionType() { ExAssert.Throws <Exception> ( () => (new TestClass()).Run(), "This is a test." ); }
public void AssertHelper_Succeed() { ExAssert.Throws <ArgumentException> ( () => (new TestClass()).Run(), "This is a test." ); }
public void AssertHelper_WrongMessage() { ExAssert.Throws <ArgumentException> ( () => (new TestClass()).Run(), "This is aa test." ); }