// Code generated by MockGen. DO NOT EDIT. // Source: github.com/ethereum/go-ethereum/consensus/bor (interfaces: ValidatorsGetter) // Package bor is a generated GoMock package. package bor import ( reflect "reflect" common "github.com/ethereum/go-ethereum/common" valset "github.com/ethereum/go-ethereum/consensus/bor/valset" gomock "github.com/golang/mock/gomock" ) // MockValidatorsGetter is a mock of ValidatorsGetter interface. type MockValidatorsGetter struct { ctrl *gomock.Controller recorder *MockValidatorsGetterMockRecorder } // MockValidatorsGetterMockRecorder is the mock recorder for MockValidatorsGetter. type MockValidatorsGetterMockRecorder struct { mock *MockValidatorsGetter } // NewMockValidatorsGetter creates a new mock instance. func NewMockValidatorsGetter(ctrl *gomock.Controller) *MockValidatorsGetter { mock := &MockValidatorsGetter{ctrl: ctrl} mock.recorder = &MockValidatorsGetterMockRecorder{mock} return mock } // EXPECT returns an object that allows the caller to indicate expected use. func (m *MockValidatorsGetter) EXPECT() *MockValidatorsGetterMockRecorder { return m.recorder } // GetCurrentValidators mocks base method. func (m *MockValidatorsGetter) GetCurrentValidators(arg0 common.Hash, arg1 uint64) ([]*valset.Validator, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "GetCurrentValidators", arg0, arg1) ret0, _ := ret[0].([]*valset.Validator) ret1, _ := ret[1].(error) return ret0, ret1 } // GetCurrentValidators indicates an expected call of GetCurrentValidators. func (mr *MockValidatorsGetterMockRecorder) GetCurrentValidators(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetCurrentValidators", reflect.TypeOf((*MockValidatorsGetter)(nil).GetCurrentValidators), arg0, arg1) }