bad67acb4b
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
82 lines
2.7 KiB
Go
82 lines
2.7 KiB
Go
// Code generated by MockGen. DO NOT EDIT.
|
|
// Source: github.com/filecoin-project/lotus/cli (interfaces: ServicesAPI)
|
|
|
|
// Package cli is a generated GoMock package.
|
|
package cli
|
|
|
|
import (
|
|
context "context"
|
|
go_address "github.com/filecoin-project/go-address"
|
|
abi "github.com/filecoin-project/go-state-types/abi"
|
|
gomock "github.com/golang/mock/gomock"
|
|
go_cid "github.com/ipfs/go-cid"
|
|
reflect "reflect"
|
|
)
|
|
|
|
// MockServicesAPI is a mock of ServicesAPI interface
|
|
type MockServicesAPI struct {
|
|
ctrl *gomock.Controller
|
|
recorder *MockServicesAPIMockRecorder
|
|
}
|
|
|
|
// MockServicesAPIMockRecorder is the mock recorder for MockServicesAPI
|
|
type MockServicesAPIMockRecorder struct {
|
|
mock *MockServicesAPI
|
|
}
|
|
|
|
// NewMockServicesAPI creates a new mock instance
|
|
func NewMockServicesAPI(ctrl *gomock.Controller) *MockServicesAPI {
|
|
mock := &MockServicesAPI{ctrl: ctrl}
|
|
mock.recorder = &MockServicesAPIMockRecorder{mock}
|
|
return mock
|
|
}
|
|
|
|
// EXPECT returns an object that allows the caller to indicate expected use
|
|
func (m *MockServicesAPI) EXPECT() *MockServicesAPIMockRecorder {
|
|
return m.recorder
|
|
}
|
|
|
|
// Close mocks base method
|
|
func (m *MockServicesAPI) Close() error {
|
|
m.ctrl.T.Helper()
|
|
ret := m.ctrl.Call(m, "Close")
|
|
ret0, _ := ret[0].(error)
|
|
return ret0
|
|
}
|
|
|
|
// Close indicates an expected call of Close
|
|
func (mr *MockServicesAPIMockRecorder) Close() *gomock.Call {
|
|
mr.mock.ctrl.T.Helper()
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Close", reflect.TypeOf((*MockServicesAPI)(nil).Close))
|
|
}
|
|
|
|
// DecodeTypedParamsFromJSON mocks base method
|
|
func (m *MockServicesAPI) DecodeTypedParamsFromJSON(arg0 context.Context, arg1 go_address.Address, arg2 abi.MethodNum, arg3 string) ([]byte, error) {
|
|
m.ctrl.T.Helper()
|
|
ret := m.ctrl.Call(m, "DecodeTypedParamsFromJSON", arg0, arg1, arg2, arg3)
|
|
ret0, _ := ret[0].([]byte)
|
|
ret1, _ := ret[1].(error)
|
|
return ret0, ret1
|
|
}
|
|
|
|
// DecodeTypedParamsFromJSON indicates an expected call of DecodeTypedParamsFromJSON
|
|
func (mr *MockServicesAPIMockRecorder) DecodeTypedParamsFromJSON(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
|
|
mr.mock.ctrl.T.Helper()
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DecodeTypedParamsFromJSON", reflect.TypeOf((*MockServicesAPI)(nil).DecodeTypedParamsFromJSON), arg0, arg1, arg2, arg3)
|
|
}
|
|
|
|
// Send mocks base method
|
|
func (m *MockServicesAPI) Send(arg0 context.Context, arg1 SendParams) (go_cid.Cid, error) {
|
|
m.ctrl.T.Helper()
|
|
ret := m.ctrl.Call(m, "Send", arg0, arg1)
|
|
ret0, _ := ret[0].(go_cid.Cid)
|
|
ret1, _ := ret[1].(error)
|
|
return ret0, ret1
|
|
}
|
|
|
|
// Send indicates an expected call of Send
|
|
func (mr *MockServicesAPIMockRecorder) Send(arg0, arg1 interface{}) *gomock.Call {
|
|
mr.mock.ctrl.T.Helper()
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Send", reflect.TypeOf((*MockServicesAPI)(nil).Send), arg0, arg1)
|
|
}
|