public void Setup()
 {
     var provider = MockRepository.GenerateStub<ExcelDataProvider>();
     _factory = new RangeAddressFactory(provider);
     _lifetimeEventHandler = MockRepository.GenerateStub<IParsingLifetimeEventHandler>();
     _scopes = MockRepository.GenerateStub<ParsingScopes>(_lifetimeEventHandler);
     _formulaDependencyFactory = MockRepository.GenerateStub<FormulaDependencyFactory>();
     _formulaDependencies = new FormulaDependencies(_formulaDependencyFactory);
 }
 public FormulaDependencies(FormulaDependencyFactory formulaDependencyFactory)
 {
     _formulaDependencyFactory = formulaDependencyFactory;
 }
 public FormulaDependencies(FormulaDependencyFactory formulaDependencyFactory)
 {
     _formulaDependencyFactory = formulaDependencyFactory;
 }