github.com/MetalBlockchain/metalgo@v1.11.9/vms/platformvm/utxo/mock_verifier.go (about)

     1  // Code generated by MockGen. DO NOT EDIT.
     2  // Source: github.com/MetalBlockchain/metalgo/vms/platformvm/utxo (interfaces: Verifier)
     3  //
     4  // Generated by this command:
     5  //
     6  //	mockgen -package=utxo -destination=vms/platformvm/utxo/mock_verifier.go github.com/MetalBlockchain/metalgo/vms/platformvm/utxo Verifier
     7  //
     8  
     9  // Package utxo is a generated GoMock package.
    10  package utxo
    11  
    12  import (
    13  	reflect "reflect"
    14  
    15  	ids "github.com/MetalBlockchain/metalgo/ids"
    16  	avax "github.com/MetalBlockchain/metalgo/vms/components/avax"
    17  	verify "github.com/MetalBlockchain/metalgo/vms/components/verify"
    18  	txs "github.com/MetalBlockchain/metalgo/vms/platformvm/txs"
    19  	gomock "go.uber.org/mock/gomock"
    20  )
    21  
    22  // MockVerifier is a mock of Verifier interface.
    23  type MockVerifier struct {
    24  	ctrl     *gomock.Controller
    25  	recorder *MockVerifierMockRecorder
    26  }
    27  
    28  // MockVerifierMockRecorder is the mock recorder for MockVerifier.
    29  type MockVerifierMockRecorder struct {
    30  	mock *MockVerifier
    31  }
    32  
    33  // NewMockVerifier creates a new mock instance.
    34  func NewMockVerifier(ctrl *gomock.Controller) *MockVerifier {
    35  	mock := &MockVerifier{ctrl: ctrl}
    36  	mock.recorder = &MockVerifierMockRecorder{mock}
    37  	return mock
    38  }
    39  
    40  // EXPECT returns an object that allows the caller to indicate expected use.
    41  func (m *MockVerifier) EXPECT() *MockVerifierMockRecorder {
    42  	return m.recorder
    43  }
    44  
    45  // VerifySpend mocks base method.
    46  func (m *MockVerifier) VerifySpend(arg0 txs.UnsignedTx, arg1 avax.UTXOGetter, arg2 []*avax.TransferableInput, arg3 []*avax.TransferableOutput, arg4 []verify.Verifiable, arg5 map[ids.ID]uint64) error {
    47  	m.ctrl.T.Helper()
    48  	ret := m.ctrl.Call(m, "VerifySpend", arg0, arg1, arg2, arg3, arg4, arg5)
    49  	ret0, _ := ret[0].(error)
    50  	return ret0
    51  }
    52  
    53  // VerifySpend indicates an expected call of VerifySpend.
    54  func (mr *MockVerifierMockRecorder) VerifySpend(arg0, arg1, arg2, arg3, arg4, arg5 any) *gomock.Call {
    55  	mr.mock.ctrl.T.Helper()
    56  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "VerifySpend", reflect.TypeOf((*MockVerifier)(nil).VerifySpend), arg0, arg1, arg2, arg3, arg4, arg5)
    57  }
    58  
    59  // VerifySpendUTXOs mocks base method.
    60  func (m *MockVerifier) VerifySpendUTXOs(arg0 txs.UnsignedTx, arg1 []*avax.UTXO, arg2 []*avax.TransferableInput, arg3 []*avax.TransferableOutput, arg4 []verify.Verifiable, arg5 map[ids.ID]uint64) error {
    61  	m.ctrl.T.Helper()
    62  	ret := m.ctrl.Call(m, "VerifySpendUTXOs", arg0, arg1, arg2, arg3, arg4, arg5)
    63  	ret0, _ := ret[0].(error)
    64  	return ret0
    65  }
    66  
    67  // VerifySpendUTXOs indicates an expected call of VerifySpendUTXOs.
    68  func (mr *MockVerifierMockRecorder) VerifySpendUTXOs(arg0, arg1, arg2, arg3, arg4, arg5 any) *gomock.Call {
    69  	mr.mock.ctrl.T.Helper()
    70  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "VerifySpendUTXOs", reflect.TypeOf((*MockVerifier)(nil).VerifySpendUTXOs), arg0, arg1, arg2, arg3, arg4, arg5)
    71  }