public MyConnectorTest() { this._uris = new[] { "uri_0", "uri_1", "uri_2", "uri_3", "uri_4" }; this._eventFirerMock = new Mock<IConnectionEventFirer>(MockBehavior.Strict); this._threadUtilsMock = new Mock<IThreadUtils>(MockBehavior.Strict); this._clientFactoryMock = new Mock<IMyDriverClientFactory>(MockBehavior.Strict); this._connector = new MyConnector( this._uris, this._eventFirerMock.Object, this._threadUtilsMock.Object, this._clientFactoryMock.Object); }
public MyConnectorTest() { this._uris = new[] { "uri_0", "uri_1", "uri_2", "uri_3", "uri_4" }; this._eventFirerMock = new Mock <IConnectionEventFirer>(MockBehavior.Strict); this._threadUtilsMock = new Mock <IThreadUtils>(MockBehavior.Strict); this._clientFactoryMock = new Mock <IMyDriverClientFactory>(MockBehavior.Strict); this._connector = new MyConnector( this._uris, this._eventFirerMock.Object, this._threadUtilsMock.Object, this._clientFactoryMock.Object); }