github.com/klaytn/klaytn@v1.10.2/datasync/chaindatafetcher/kafka/mocks/consumer_group_session_mock.go (about)

     1  // Code generated by MockGen. DO NOT EDIT.
     2  // Source: github.com/klaytn/klaytn/datasync/chaindatafetcher/kafka (interfaces: ConsumerGroupSession)
     3  
     4  // Package mocks is a generated GoMock package.
     5  package mocks
     6  
     7  import (
     8  	reflect "reflect"
     9  
    10  	sarama "github.com/Shopify/sarama"
    11  	gomock "github.com/golang/mock/gomock"
    12  )
    13  
    14  // MockConsumerGroupSession is a mock of ConsumerGroupSession interface
    15  type MockConsumerGroupSession struct {
    16  	ctrl     *gomock.Controller
    17  	recorder *MockConsumerGroupSessionMockRecorder
    18  }
    19  
    20  // MockConsumerGroupSessionMockRecorder is the mock recorder for MockConsumerGroupSession
    21  type MockConsumerGroupSessionMockRecorder struct {
    22  	mock *MockConsumerGroupSession
    23  }
    24  
    25  // NewMockConsumerGroupSession creates a new mock instance
    26  func NewMockConsumerGroupSession(ctrl *gomock.Controller) *MockConsumerGroupSession {
    27  	mock := &MockConsumerGroupSession{ctrl: ctrl}
    28  	mock.recorder = &MockConsumerGroupSessionMockRecorder{mock}
    29  	return mock
    30  }
    31  
    32  // EXPECT returns an object that allows the caller to indicate expected use
    33  func (m *MockConsumerGroupSession) EXPECT() *MockConsumerGroupSessionMockRecorder {
    34  	return m.recorder
    35  }
    36  
    37  // MarkMessage mocks base method
    38  func (m *MockConsumerGroupSession) MarkMessage(arg0 *sarama.ConsumerMessage, arg1 string) {
    39  	m.ctrl.T.Helper()
    40  	m.ctrl.Call(m, "MarkMessage", arg0, arg1)
    41  }
    42  
    43  // MarkMessage indicates an expected call of MarkMessage
    44  func (mr *MockConsumerGroupSessionMockRecorder) MarkMessage(arg0, arg1 interface{}) *gomock.Call {
    45  	mr.mock.ctrl.T.Helper()
    46  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MarkMessage", reflect.TypeOf((*MockConsumerGroupSession)(nil).MarkMessage), arg0, arg1)
    47  }
    48  
    49  // MarkOffset mocks base method
    50  func (m *MockConsumerGroupSession) MarkOffset(arg0 string, arg1 int32, arg2 int64, arg3 string) {
    51  	m.ctrl.T.Helper()
    52  	m.ctrl.Call(m, "MarkOffset", arg0, arg1, arg2, arg3)
    53  }
    54  
    55  // MarkOffset indicates an expected call of MarkOffset
    56  func (mr *MockConsumerGroupSessionMockRecorder) MarkOffset(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
    57  	mr.mock.ctrl.T.Helper()
    58  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MarkOffset", reflect.TypeOf((*MockConsumerGroupSession)(nil).MarkOffset), arg0, arg1, arg2, arg3)
    59  }