public SubcategoryServiceTests() { var subcategoryRepository = MockInitializer.GetSubcategoryRepository(); var categoryRepository = MockInitializer.GetCategoryRepository(); var unitOfWork = MockInitializer.GetUnitOfWork(); _subcategoryService = new SubcategoryService(subcategoryRepository, categoryRepository, unitOfWork); }
public TorrentServiceTests() { var torrentRepository = MockInitializer.GetTorrentRepository(); var subcategoryRepository = MockInitializer.GetSubcategoryRepository(); var fileStorageService = MockInitializer.GetFileStorageService(); var unitOfWork = MockInitializer.GetUnitOfWork(); _torrentService = new TorrentService(torrentRepository, subcategoryRepository, fileStorageService, unitOfWork); }