code.vegaprotocol.io/vega@v0.79.0/core/evtforward/ethereum/mocks/assets_mock.go (about)

     1  // Code generated by MockGen. DO NOT EDIT.
     2  // Source: code.vegaprotocol.io/vega/core/evtforward/ethereum (interfaces: Assets)
     3  
     4  // Package mocks is a generated GoMock package.
     5  package mocks
     6  
     7  import (
     8  	reflect "reflect"
     9  
    10  	gomock "github.com/golang/mock/gomock"
    11  )
    12  
    13  // MockAssets is a mock of Assets interface.
    14  type MockAssets struct {
    15  	ctrl     *gomock.Controller
    16  	recorder *MockAssetsMockRecorder
    17  }
    18  
    19  // MockAssetsMockRecorder is the mock recorder for MockAssets.
    20  type MockAssetsMockRecorder struct {
    21  	mock *MockAssets
    22  }
    23  
    24  // NewMockAssets creates a new mock instance.
    25  func NewMockAssets(ctrl *gomock.Controller) *MockAssets {
    26  	mock := &MockAssets{ctrl: ctrl}
    27  	mock.recorder = &MockAssetsMockRecorder{mock}
    28  	return mock
    29  }
    30  
    31  // EXPECT returns an object that allows the caller to indicate expected use.
    32  func (m *MockAssets) EXPECT() *MockAssetsMockRecorder {
    33  	return m.recorder
    34  }
    35  
    36  // GetVegaIDFromEthereumAddress mocks base method.
    37  func (m *MockAssets) GetVegaIDFromEthereumAddress(arg0 string) string {
    38  	m.ctrl.T.Helper()
    39  	ret := m.ctrl.Call(m, "GetVegaIDFromEthereumAddress", arg0)
    40  	ret0, _ := ret[0].(string)
    41  	return ret0
    42  }
    43  
    44  // GetVegaIDFromEthereumAddress indicates an expected call of GetVegaIDFromEthereumAddress.
    45  func (mr *MockAssetsMockRecorder) GetVegaIDFromEthereumAddress(arg0 interface{}) *gomock.Call {
    46  	mr.mock.ctrl.T.Helper()
    47  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetVegaIDFromEthereumAddress", reflect.TypeOf((*MockAssets)(nil).GetVegaIDFromEthereumAddress), arg0)
    48  }