Example #1
0
 public void SetUp()
 {
     mSpecificKeeperDb = new KeeperDb();
     mSpecificResult   = new DbLoadResult(mSpecificKeeperDb);
     mDbGeneralLoader  = A.Fake <IDbGeneralLoader>();
     A.CallTo(() => mDbGeneralLoader.LoadByExtension()).Returns(mSpecificResult);
     mUnderTest = new DbExporter(mDbGeneralLoader);
 }
Example #2
0
 public DbExporter(IDbGeneralLoader loader)
 {
     LoadResult = loader.LoadByExtension();
     Db         = LoadResult.Db;
 }