Пример #1
0
 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);
 }
Пример #2
0
 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;
 }
Пример #3
0
 public void Setup()
 {
     _feedFinder = new FeedFinder();
 }