public void CreateRunnerThread() { mockRunner = new MockTestRunner("TestRunner"); runnerThread = new TestRunnerThread((TestRunner)mockRunner.MockInstance); // Set Strict false to avoid faults on the worker thread mockRunner.Strict = false; }
public void CreateRunnerThread() { mockRunner = Substitute.For <TestRunner>(); runnerThread = new TestRunnerThread(mockRunner, ApartmentState.Unknown, ThreadPriority.Normal); listener = NullListener.NULL; }