Пример #1
0
 public void Setup()
 {
     _databaseBuilder     = A.Fake <ISqLiteDatabaseBuilder>();
     _sqlQueryConstructor = A.Fake <ISqlQueryConstructor>();
     _sqLiteDatabase      = A.Fake <ISqLiteDatabase>();
     _database            = new Database(_databaseBuilder, _sqlQueryConstructor);
 }
Пример #2
0
 public Database(ISqLiteDatabaseBuilder sqLiteDatabaseBuilder, ISqlQueryConstructor sqlQueryConstructor)
 {
     _sqLiteDatabaseBuilder = sqLiteDatabaseBuilder;
     _sqlQueryConstructor   = sqlQueryConstructor;
 }