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

Function newTestReporterMock

mocks/async_producer_test.go:32–34  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

30}
31
32func newTestReporterMock() *testReporterMock {
33 return &testReporterMock{errors: make([]string, 0)}
34}
35
36func (trm *testReporterMock) Errorf(format string, args ...any) {
37 trm.errors = append(trm.errors, fmt.Sprintf(format, args...))

Calls

no outgoing calls

Tested by

no test coverage detected