public BigUnit Build() { if (_bigUnit == null) { _bigUnit = new BigUnit(new TestInstanceStrategy( _testScope, _constructorStrategy), new TestInstanceProvider( _dependencyProvider, new TypeCache() ) ); } return(_bigUnit); }
public BigUnitBuilder WithConstructorStrategy(IConstructorStrategy constructorStrategy) { _bigUnit = null; _constructorStrategy = constructorStrategy; return(this); }
public BigUnitBuilder WithDependencyProvider(IDependencyProvider dependencyProvider) { _bigUnit = null; _dependencyProvider = dependencyProvider; return(this); }
public BigUnitBuilder WithTestScope(ITestScope testScope) { _bigUnit = null; _testScope = testScope; return(this); }