public void Setup() { _webContentService = new Mock<IWebContentService>().Object; _feedFinder = new Mock<IFeedFinder>().Object; _user = new Mock<User> { CallBase = true }.Object; _userTasks = new UserTasks(null, null, null, _webContentService, _feedFinder, null, null, null, null, null, null, null); }
public UserTasks( IInterestTasks interestTasks, IImageProcessor imageProcessor, IFileUploadService fileUploadService, IWebContentService webContentService, IFeedFinder feedFinder, IUserAuthentication userAuthentication, IConversationRepository conversationRepository, IEmailService emailService, ILocationService locationService, IUserRepository userRepository, IPageParsingService pageParsingService, IUserInterestTasks userInterestTasks) { _interestTasks = interestTasks; _imageProcessor = imageProcessor; _fileUploadService = fileUploadService; _webContentService = webContentService; _feedFinder = feedFinder; _userAuthentication = userAuthentication; _conversationRepository = conversationRepository; _emailService = emailService; _locationService = locationService; _userRepository = userRepository; _pageParsingService = pageParsingService; _userInterestTasks = userInterestTasks; }
public void Setup() { _feedFinder = new FeedFinder(); }