public AutoLocalConnectorTests() { _connectParser = Mock.Create <IConnectParser>(); _recorder = Mock.Create <IRecorder>(); _sut = new AutoLocalConnector(_connectParser, _recorder, "127.0.0.1:10000"); }
public MonitoredRemoteOperator( IAutoLocalConnector autoLocalConnector, IRemoteTraceMonitorСonsistent remoteTraceMonitorСonsistent, IRecorder recorder) { _autoLocalConnector = autoLocalConnector; _remoteTraceMonitorСonsistent = remoteTraceMonitorСonsistent; _recorder = recorder; _autoLocalConnector.TextReceived += TextReceivedHandler; _autoLocalConnector.Connected += ConnectedHandler; _remoteTraceMonitorСonsistent.CommandReceived += TextEnteredHandler; }
public MonitoredRemoteOperatorTests() { _autoLocalConnector = Mock.Create <IAutoLocalConnector>(); _remoteTraceMonitor = Mock.Create <IRemoteTraceMonitorСonsistent>(); _recorder = Mock.Create <IRecorder>(); }