mirror of
https://github.com/luxfi/lpm.git
synced 2026-10-30 16:20:57 +00:00
Lux Partners Limited is the Isle of Man company. Lux Industries Inc, a Delaware C corporation, is the company these sites belong to, so it is the one they name — in metadata, copyright, and the press items that record who signed. The fund site names Lux Assets Management LLC, which is its own company. Two sentences were rewritten rather than renamed, because a name was doing work a name cannot do. One claimed an Isle of Man domicile the naming entity does not have. The other said a company acts on behalf of another; with one entity left it said a company acts on behalf of itself. The Isle of Man stays everywhere it is a JURISDICTION the product supports — the regulatory package, the jurisdiction guides, the compliance tables. Only this company's own identity changed.
84 lines
2.5 KiB
Go
84 lines
2.5 KiB
Go
// Copyright (C) 2019-2025, Lux Industries Inc. All rights reserved.
|
|
// See the file LICENSE for licensing terms.
|
|
//
|
|
|
|
// Code generated by MockGen. DO NOT EDIT.
|
|
// Source: state/repository.go
|
|
|
|
// Package state is a generated GoMock package.
|
|
package state
|
|
|
|
import (
|
|
reflect "reflect"
|
|
|
|
gomock "github.com/golang/mock/gomock"
|
|
types "github.com/luxfi/lpm/types"
|
|
)
|
|
|
|
// MockRepository is a mock of Repository interface.
|
|
type MockRepository struct {
|
|
ctrl *gomock.Controller
|
|
recorder *MockRepositoryMockRecorder
|
|
}
|
|
|
|
// MockRepositoryMockRecorder is the mock recorder for MockRepository.
|
|
type MockRepositoryMockRecorder struct {
|
|
mock *MockRepository
|
|
}
|
|
|
|
// NewMockRepository creates a new mock instance.
|
|
func NewMockRepository(ctrl *gomock.Controller) *MockRepository {
|
|
mock := &MockRepository{ctrl: ctrl}
|
|
mock.recorder = &MockRepositoryMockRecorder{mock}
|
|
return mock
|
|
}
|
|
|
|
// EXPECT returns an object that allows the caller to indicate expected use.
|
|
func (m *MockRepository) EXPECT() *MockRepositoryMockRecorder {
|
|
return m.recorder
|
|
}
|
|
|
|
// GetPath mocks base method.
|
|
func (m *MockRepository) GetPath() string {
|
|
m.ctrl.T.Helper()
|
|
ret := m.ctrl.Call(m, "GetPath")
|
|
ret0, _ := ret[0].(string)
|
|
return ret0
|
|
}
|
|
|
|
// GetPath indicates an expected call of GetPath.
|
|
func (mr *MockRepositoryMockRecorder) GetPath() *gomock.Call {
|
|
mr.mock.ctrl.T.Helper()
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetPath", reflect.TypeOf((*MockRepository)(nil).GetPath))
|
|
}
|
|
|
|
// GetChain mocks base method.
|
|
func (m *MockRepository) GetChain(name string) (Definition[types.Chain], error) {
|
|
m.ctrl.T.Helper()
|
|
ret := m.ctrl.Call(m, "GetChain", name)
|
|
ret0, _ := ret[0].(Definition[types.Chain])
|
|
ret1, _ := ret[1].(error)
|
|
return ret0, ret1
|
|
}
|
|
|
|
// GetChain indicates an expected call of GetChain.
|
|
func (mr *MockRepositoryMockRecorder) GetChain(name interface{}) *gomock.Call {
|
|
mr.mock.ctrl.T.Helper()
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetChain", reflect.TypeOf((*MockRepository)(nil).GetChain), name)
|
|
}
|
|
|
|
// GetVM mocks base method.
|
|
func (m *MockRepository) GetVM(name string) (Definition[types.VM], error) {
|
|
m.ctrl.T.Helper()
|
|
ret := m.ctrl.Call(m, "GetVM", name)
|
|
ret0, _ := ret[0].(Definition[types.VM])
|
|
ret1, _ := ret[1].(error)
|
|
return ret0, ret1
|
|
}
|
|
|
|
// GetVM indicates an expected call of GetVM.
|
|
func (mr *MockRepositoryMockRecorder) GetVM(name interface{}) *gomock.Call {
|
|
mr.mock.ctrl.T.Helper()
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetVM", reflect.TypeOf((*MockRepository)(nil).GetVM), name)
|
|
}
|