1 // Code generated by mockery v1.0.0. DO NOT EDIT.
6 mock "github.com/stretchr/testify/mock"
7 "oransc.org/nonrtric/dmaapmediatorproducer/internal/kafkaclient"
10 // KafkaFactory is an autogenerated mock type for the KafkaFactory type
11 type KafkaFactory struct {
15 // NewKafkaConsumer provides a mock function with given fields: topicID
16 func (_m KafkaFactory) NewKafkaConsumer(topicID string) (kafkaclient.KafkaConsumer, error) {
17 ret := _m.Called(topicID)
19 var r0 kafkaclient.KafkaConsumer
20 if rf, ok := ret.Get(0).(func(string) kafkaclient.KafkaConsumer); ok {
23 if ret.Get(0) != nil {
24 r0 = ret.Get(0).(kafkaclient.KafkaConsumer)
29 if rf, ok := ret.Get(1).(func(string) error); ok {