protected TestBase(IDataGenerator dataGenerator, IObjectCreator objectCreator = null, IAssertAdapter assertAdapter = null, IAssertHelper assertHelper = null, IMethodTester methodTester = null, IConstructorTester constructorTester = null) : base(dataGenerator) { ObjectCreator = objectCreator ?? new ReflectionBasedObjectCreator(); _assertAdapter = assertAdapter ?? new NUnitAssertAdapter(); Asserter = assertHelper ?? new SurrogateAsserter(_assertAdapter, new AsserterStrategyFactory(_assertAdapter)); MethodTester = methodTester ?? new MethodTester(dataGenerator); ConstructorTester = constructorTester ?? new ConstructorTester(dataGenerator); }
protected CallInstructionTests(IAssertHelper helper) : base(helper) { }
public ObjectAsserterStrategy(IAssertAdapter assertAdapter, IAssertHelper asserter) : base(assertAdapter) { _asserter = asserter; }
protected SubtractionInstructionTests(IAssertHelper helper) : base(helper) { }
protected AssertHelper(IAssertHelper helper) { this.Helper = helper; }