public void YammerMessageFetcherSetUp() { _service = new Mock<IYammerServiceManager>(); _deserializer = new Mock<IYammerMessageResponseDeserializer>(); _databaseManager = new Mock<IYammerMessageDatabaseManager>(); _fileDataProvider = new Mock<IFileDataProvider>(); _messageFetcher = new YammerMessageFetcher(_service.Object, _deserializer.Object, _databaseManager.Object, _fileDataProvider.Object); }
public YammerTaskRunner(IYammerMessagePoster poster, IYammerMessageFetcher messageFetcher, IYammerMessageDatabaseManager databaseManager, IYammerResponseFetcher responseFetcher, IRandomNumberGenerator randomNumberGenerator, IYammerCommandFetcher commandFetcher) { _poster = poster; _messageFetcher = messageFetcher; _databaseManager = databaseManager; _responseFetcher = responseFetcher; _randomNumberGenerator = randomNumberGenerator; _commandFetcher = commandFetcher; }