public void Initialize() { _executor = new StubRequestExecutor( new[] { _conditionCheckerMock1.Object, _conditionCheckerMock2.Object }, _finalStubDeterminerMock.Object, _loggerMock.Object, TestObjectFactory.GetRequestLoggerFactory(), _stubContextMock.Object, _stubResponseGeneratorMock.Object); _stubContextMock .Setup(m => m.GetStubsAsync()) .ReturnsAsync(new[] { _stub1, _stub2 }); }
public void Initialize() => _generator = new StubResponseGenerator( TestObjectFactory.GetRequestLoggerFactory(), _responseWriters);