public void Setup() { _databaseBuilder = A.Fake <ISqLiteDatabaseBuilder>(); _sqlQueryConstructor = A.Fake <ISqlQueryConstructor>(); _sqLiteDatabase = A.Fake <ISqLiteDatabase>(); _database = new Database(_databaseBuilder, _sqlQueryConstructor); }
public Database(ISqLiteDatabaseBuilder sqLiteDatabaseBuilder, ISqlQueryConstructor sqlQueryConstructor) { _sqLiteDatabaseBuilder = sqLiteDatabaseBuilder; _sqlQueryConstructor = sqlQueryConstructor; }