code.vegaprotocol.io/vega@v0.79.0/wallet/network/mocks/store_mock.go (about) 1 // Code generated by MockGen. DO NOT EDIT. 2 // Source: code.vegaprotocol.io/vega/wallet/network (interfaces: Store) 3 4 // Package mocks is a generated GoMock package. 5 package mocks 6 7 import ( 8 reflect "reflect" 9 10 network "code.vegaprotocol.io/vega/wallet/network" 11 gomock "github.com/golang/mock/gomock" 12 ) 13 14 // MockStore is a mock of Store interface. 15 type MockStore struct { 16 ctrl *gomock.Controller 17 recorder *MockStoreMockRecorder 18 } 19 20 // MockStoreMockRecorder is the mock recorder for MockStore. 21 type MockStoreMockRecorder struct { 22 mock *MockStore 23 } 24 25 // NewMockStore creates a new mock instance. 26 func NewMockStore(ctrl *gomock.Controller) *MockStore { 27 mock := &MockStore{ctrl: ctrl} 28 mock.recorder = &MockStoreMockRecorder{mock} 29 return mock 30 } 31 32 // EXPECT returns an object that allows the caller to indicate expected use. 33 func (m *MockStore) EXPECT() *MockStoreMockRecorder { 34 return m.recorder 35 } 36 37 // GetNetwork mocks base method. 38 func (m *MockStore) GetNetwork(arg0 string) (*network.Network, error) { 39 m.ctrl.T.Helper() 40 ret := m.ctrl.Call(m, "GetNetwork", arg0) 41 ret0, _ := ret[0].(*network.Network) 42 ret1, _ := ret[1].(error) 43 return ret0, ret1 44 } 45 46 // GetNetwork indicates an expected call of GetNetwork. 47 func (mr *MockStoreMockRecorder) GetNetwork(arg0 interface{}) *gomock.Call { 48 mr.mock.ctrl.T.Helper() 49 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetNetwork", reflect.TypeOf((*MockStore)(nil).GetNetwork), arg0) 50 } 51 52 // NetworkExists mocks base method. 53 func (m *MockStore) NetworkExists(arg0 string) (bool, error) { 54 m.ctrl.T.Helper() 55 ret := m.ctrl.Call(m, "NetworkExists", arg0) 56 ret0, _ := ret[0].(bool) 57 ret1, _ := ret[1].(error) 58 return ret0, ret1 59 } 60 61 // NetworkExists indicates an expected call of NetworkExists. 62 func (mr *MockStoreMockRecorder) NetworkExists(arg0 interface{}) *gomock.Call { 63 mr.mock.ctrl.T.Helper() 64 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NetworkExists", reflect.TypeOf((*MockStore)(nil).NetworkExists), arg0) 65 }