public void setup() { decorateTestSpecification = Substitute.For <DecorateTestSpecification>(); nspecTestMethodBuilder = new NSpecTestMethodBuilder(); decorator = new NSpecTestDecorator(decorateTestSpecification, nspecTestMethodBuilder); test = NUnitSubstitute.ForTestMethod(); }
public void setup() { builder = new NSpecTestMethodBuilder(); test = NUnitSubstitute.ForTestMethod(); test.BuilderException = new Exception(); test.Categories = new ArrayList(); test.Description = "description"; test.ExceptionProcessor = Substitute.For <ExpectedExceptionProcessor>(test); test.Fixture = this; test.IgnoreReason = "ignoreReason"; test.Parent = NUnitSubstitute.ForTest(); test.Properties = new Hashtable(); test.RunState = RunState.Runnable; }
public void setup() { testResult = new TestResult(NUnitSubstitute.ForTest()); testResultExampleReporter = new TestResultExampleReporter(testResult); }
public void setup() { specification = new DecorateTestSpecification(); test = NUnitSubstitute.ForTest(); }