Beispiel #1
0
 public void Setup()
 {
     _dictionaryGraphNodeFactory = A.Fake <IDictionaryGraphNodeFactory <IPoint> >();
     _database            = A.Fake <IDatabase>();
     _pointBuilder        = A.Fake <IPointBuilder>();
     _dataRestoreStrategy = new DataRestoreStrategy(_pointBuilder, _dictionaryGraphNodeFactory);
 }
Beispiel #2
0
 public DataRestoreStrategy(IPointBuilder pointBuilder, IDictionaryGraphNodeFactory <IPoint> dictionaryGraphNodeFactory)
 {
     _pointBuilder = pointBuilder;
     _dictionaryGraphNodeFactory = dictionaryGraphNodeFactory;
 }