public CategoryServiceTests() { var categoryRepository = MockInitializer.GetCategoryRepository(); var unitOfWork = MockInitializer.GetUnitOfWork(); _categoryService = new CategoryService(categoryRepository, unitOfWork); }
public SubcategoryServiceTests() { var subcategoryRepository = MockInitializer.GetSubcategoryRepository(); var categoryRepository = MockInitializer.GetCategoryRepository(); var unitOfWork = MockInitializer.GetUnitOfWork(); _subcategoryService = new SubcategoryService(subcategoryRepository, categoryRepository, unitOfWork); }
public CommentServiceTests() { var commentRepository = MockInitializer.GetCommentRepository(); var torrentRepository = MockInitializer.GetTorrentRepository(); var likeRepository = MockInitializer.GetLikeRepository(); var unitOfWork = MockInitializer.GetUnitOfWork(); _commentService = new CommentService(commentRepository, torrentRepository, likeRepository, 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); }