示例#1
0
 public BuildBuster(IConfigSettings configSettings, FixerStrategy fixerStrategy, GuiltFactory guiltFactory)
 {
     _fixerStrategy = fixerStrategy;
     _guiltFactory = guiltFactory;
     SetGuiltStrategy(configSettings);
     configSettings.AddObserver(this);
 }
示例#2
0
 public BuildBuster(IConfigSettings configSettings, FixerStrategy fixerStrategy, GuiltFactory guiltFactory)
 {
     _fixerStrategy = fixerStrategy;
     _guiltFactory  = guiltFactory;
     SetGuiltStrategy(configSettings);
     configSettings.AddObserver(this);
 }
示例#3
0
 public void SetUp()
 {
     _configSettings = MockRepository.GenerateStub<IConfigSettings>();
     _guiltFactory = new GuiltFactory();
 }
 public void SetUp()
 {
     _configSettings = Create.Stub<IConfigSettings>();
     _guiltFactory = new GuiltFactory();
 }