public void InitializeTest() { // Create fake dependencies this.notificationConfigurationService = A.Fake<INotificationConfigurationService>(); this.bitcoinExchangeRatesService = A.Fake<IBitcoinExchangeRatesService>(); this.smtpService = A.Fake<ISmtpService>(); this.outputService = A.Fake<IOutputService>(); // Create test subject this.bitcoinPriceNotificationRobot = new BitcoinPriceNotificationRobot( this.notificationConfigurationService, this.bitcoinExchangeRatesService, this.smtpService, this.outputService); }
public void InitializeTest() { // Create fake dependencies this.commandLineParser = A.Fake<ICommandLineParser>(); // Create test subject this.notificationConfigurationService = new NotificationConfigurationService(this.commandLineParser); }