Example #1
0
 public void Setup()
 {
     _databaseTableCreationQueries = A.Fake <IDatabaseTableCreationQueries>();
     _fileExplorer             = A.Fake <IFileExplorer>();
     _connectionWrapperFactory = A.Fake <ISqLiteConnectionWrapperFactory>();
     _sqLiteDatabaseFactory    = A.Fake <ISqLiteDatabaseFactory>();
     _sqLiteDatabase           = A.Fake <ISqLiteDatabase>();
     _databaseBuilder          = new SqLiteDatabaseBuilder(_databaseTableCreationQueries, _fileExplorer, _sqLiteDatabaseFactory, _connectionWrapperFactory);
 }
Example #2
0
 public void Setup()
 {
     _fileExplorer          = new FileExplorer();
     _sqLiteDatabaseBuilder = new SqLiteDatabaseBuilder(new DatabaseTableCreationQueries(), _fileExplorer,
                                                        new SqLiteDatabaseFactory(), new SqLiteConnectionWrapperFactory());
 }