mirror of
https://github.com/luxfi/evm.git
synced 2026-10-30 14:46:01 +00:00
54 lines
1.8 KiB
Go
54 lines
1.8 KiB
Go
// Code generated by MockGen. DO NOT EDIT.
|
|
// Source: github.com/luxdefi/evm/warp/aggregator (interfaces: SignatureGetter)
|
|
|
|
// Package aggregator is a generated GoMock package.
|
|
package aggregator
|
|
|
|
import (
|
|
context "context"
|
|
reflect "reflect"
|
|
|
|
ids "github.com/luxdefi/node/ids"
|
|
bls "github.com/luxdefi/node/utils/crypto/bls"
|
|
warp "github.com/luxdefi/node/vms/platformvm/warp"
|
|
gomock "go.uber.org/mock/gomock"
|
|
)
|
|
|
|
// MockSignatureGetter is a mock of SignatureGetter interface.
|
|
type MockSignatureGetter struct {
|
|
ctrl *gomock.Controller
|
|
recorder *MockSignatureGetterMockRecorder
|
|
}
|
|
|
|
// MockSignatureGetterMockRecorder is the mock recorder for MockSignatureGetter.
|
|
type MockSignatureGetterMockRecorder struct {
|
|
mock *MockSignatureGetter
|
|
}
|
|
|
|
// NewMockSignatureGetter creates a new mock instance.
|
|
func NewMockSignatureGetter(ctrl *gomock.Controller) *MockSignatureGetter {
|
|
mock := &MockSignatureGetter{ctrl: ctrl}
|
|
mock.recorder = &MockSignatureGetterMockRecorder{mock}
|
|
return mock
|
|
}
|
|
|
|
// EXPECT returns an object that allows the caller to indicate expected use.
|
|
func (m *MockSignatureGetter) EXPECT() *MockSignatureGetterMockRecorder {
|
|
return m.recorder
|
|
}
|
|
|
|
// GetSignature mocks base method.
|
|
func (m *MockSignatureGetter) GetSignature(arg0 context.Context, arg1 ids.NodeID, arg2 *warp.UnsignedMessage) (*bls.Signature, error) {
|
|
m.ctrl.T.Helper()
|
|
ret := m.ctrl.Call(m, "GetSignature", arg0, arg1, arg2)
|
|
ret0, _ := ret[0].(*bls.Signature)
|
|
ret1, _ := ret[1].(error)
|
|
return ret0, ret1
|
|
}
|
|
|
|
// GetSignature indicates an expected call of GetSignature.
|
|
func (mr *MockSignatureGetterMockRecorder) GetSignature(arg0, arg1, arg2 interface{}) *gomock.Call {
|
|
mr.mock.ctrl.T.Helper()
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetSignature", reflect.TypeOf((*MockSignatureGetter)(nil).GetSignature), arg0, arg1, arg2)
|
|
}
|