public TestSuite ExpectedExceptionSuite() { TestSuite suite = new TestSuite("ExpectedExceptionSuite"); ITestCase tc = TestCases.Case("Verfiy that tests throw", new TestDelegate(this.ThrowMe)); ITestCase etc = TestCases.ExpectedException(tc, typeof(Exception)); suite.Add(etc); return(suite); }