github.com/ydb-platform/ydb-go-sdk/v3@v3.57.0/internal/topic/topicreaderinternal/pool_interface_mock_test.go (about)

     1  // Code generated by MockGen. DO NOT EDIT.
     2  // Source: github.com/ydb-platform/ydb-go-sdk/v3/internal/topic/topicreaderinternal (interfaces: Pool)
     3  //
     4  // Generated by this command:
     5  //
     6  //	mockgen -destination=pool_interface_mock_test.go -write_package_comment=false -package=topicreaderinternal github.com/ydb-platform/ydb-go-sdk/v3/internal/topic/topicreaderinternal Pool
     7  package topicreaderinternal
     8  
     9  import (
    10  	reflect "reflect"
    11  
    12  	gomock "go.uber.org/mock/gomock"
    13  )
    14  
    15  // MockPool is a mock of Pool interface.
    16  type MockPool struct {
    17  	ctrl     *gomock.Controller
    18  	recorder *MockPoolMockRecorder
    19  }
    20  
    21  // MockPoolMockRecorder is the mock recorder for MockPool.
    22  type MockPoolMockRecorder struct {
    23  	mock *MockPool
    24  }
    25  
    26  // NewMockPool creates a new mock instance.
    27  func NewMockPool(ctrl *gomock.Controller) *MockPool {
    28  	mock := &MockPool{ctrl: ctrl}
    29  	mock.recorder = &MockPoolMockRecorder{mock}
    30  	return mock
    31  }
    32  
    33  // EXPECT returns an object that allows the caller to indicate expected use.
    34  func (m *MockPool) EXPECT() *MockPoolMockRecorder {
    35  	return m.recorder
    36  }
    37  
    38  // Get mocks base method.
    39  func (m *MockPool) Get() any {
    40  	m.ctrl.T.Helper()
    41  	ret := m.ctrl.Call(m, "Get")
    42  	ret0, _ := ret[0].(any)
    43  	return ret0
    44  }
    45  
    46  // Get indicates an expected call of Get.
    47  func (mr *MockPoolMockRecorder) Get() *gomock.Call {
    48  	mr.mock.ctrl.T.Helper()
    49  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Get", reflect.TypeOf((*MockPool)(nil).Get))
    50  }
    51  
    52  // Put mocks base method.
    53  func (m *MockPool) Put(arg0 any) {
    54  	m.ctrl.T.Helper()
    55  	m.ctrl.Call(m, "Put", arg0)
    56  }
    57  
    58  // Put indicates an expected call of Put.
    59  func (mr *MockPoolMockRecorder) Put(arg0 any) *gomock.Call {
    60  	mr.mock.ctrl.T.Helper()
    61  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Put", reflect.TypeOf((*MockPool)(nil).Put), arg0)
    62  }