MCPcopy
hub / github.com/IBM/sarama / NewMockWrapper

Function NewMockWrapper

mockresponses.go:36–38  ·  view source on GitHub ↗
(res encoderWithHeader)

Source from the content-addressed store, hash-verified

34}
35
36func NewMockWrapper(res encoderWithHeader) *MockWrapper {
37 return &MockWrapper{res: res}
38}
39
40// MockSequence is a mock response builder that is created from a sequence of
41// concrete responses. Every time when a `MockBroker` calls its `For` method

Calls

no outgoing calls