protected void SetUp() { Log = new LogImpl(); Config = new TestConfiguration(); FavoriteItemDataMapper = new FavoriteItemDataMapper(); FavoritesTableEntityDataMapper = new FavoritesTableEntityDataMapper(); DbProvider = new SqliteDatabaseProviderImpl(Config, Log); Repo = new FavoritesRepositoryImpl(DbProvider, FavoriteItemDataMapper, FavoritesTableEntityDataMapper); }
public FavoritesRepositoryImpl(IDatabaseProvider database, FavoriteItemDataMapper favoriteItemDataMapper, FavoritesTableEntityDataMapper favoritesTableEntityDataMapper) { Database = database; FavoriteItemDataMapper = favoriteItemDataMapper; FavoritesTableEntityDataMapper = favoritesTableEntityDataMapper; }
protected void SetUp() { Mapper = new FavoriteItemDataMapper(); }