public IotHubConnectionStringManagerTest() { this.mockLogger = new Mock <ILogger>(); this.mockDiagnosticsLogger = new Mock <IDiagnosticsLogger>(); this.mockFactory = new Mock <IFactory>(); this.mockFactory.Setup(x => x.Resolve <IStorageRecords>()).Returns(new Mock <IStorageRecords>().Object); this.config = new ServicesConfig(); this.target = new IotHubConnectionStringManager(this.config, this.mockFactory.Object, this.mockDiagnosticsLogger.Object, this.mockLogger.Object); }
public IotHubConnectionStringManagerTest() { this.logger = new Mock <ILogger>(); this.config = new ServicesConfig(); this.target = new IotHubConnectionStringManager(this.config, this.logger.Object); }