public void AddTestCaseMustPass() { var testCase = new Mock <ITestCase>(); var engine = new TestExecutionEngine(_driver.Object, _reporter.Object); var result = engine.AddTestCase(testCase.Object); Assert.NotNull(result); }
public void AddTestCaseNullCheck() { var engine = new TestExecutionEngine(_driver.Object, _reporter.Object); Assert.Throws <ArgumentNullException>(() => engine.AddTestCase(null)); }