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); }