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

Method For

mockresponses.go:23–23  ·  mockresponses.go::MockResponse.For
(reqBody versionedDecoder)

Source from the content-addressed store, hash-verified

21// to program behavior of MockBroker in tests.
22type MockResponse interface {
23 For(reqBody versionedDecoder) (res encoderWithHeader)
24}
25
26// MockWrapper is a mock response builder that returns a particular concrete

Callers 12

SetHandlerByMapMethod · 0.65
ForMethod · 0.65
ForMethod · 0.65
ForMethod · 0.65
singleBrokerAdminFunction · 0.65
staleControllerAdminFunction · 0.65
TestClusterAdminListAclsFunction · 0.65
TestListOffsetsFunction · 0.65

Implementers 15

readReplicaFetchconsumer_test.go
MockWrappermockresponses.go
MockSequencemockresponses.go
MockListGroupsResponsemockresponses.go
MockMetadataResponsemockresponses.go
MockOffsetResponsemockresponses.go
MockFetchResponsemockresponses.go
MockOffsetCommitResponsemockresponses.go
MockProduceResponsemockresponses.go

Calls

no outgoing calls

Tested by 10

ForMethod · 0.52
ForMethod · 0.52
singleBrokerAdminFunction · 0.52
staleControllerAdminFunction · 0.52
TestClusterAdminListAclsFunction · 0.52
TestListOffsetsFunction · 0.52