Documentation ¶
Index ¶
- type MockTransactor
- type MockTransactor_Expecter
- type MockTransactor_WithTx_Call
- func (_c *MockTransactor_WithTx_Call) Return(_a0 interface{}, _a1 error) *MockTransactor_WithTx_Call
- func (_c *MockTransactor_WithTx_Call) Run(run func(_a0 context.Context, _a1 func(context.Context) (interface{}, error))) *MockTransactor_WithTx_Call
- func (_c *MockTransactor_WithTx_Call) RunAndReturn(...) *MockTransactor_WithTx_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockTransactor ¶
MockTransactor is an autogenerated mock type for the Transactor type
func NewMockTransactor ¶
func NewMockTransactor(t mockConstructorTestingTNewMockTransactor) *MockTransactor
NewMockTransactor creates a new instance of MockTransactor. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*MockTransactor) EXPECT ¶
func (_m *MockTransactor) EXPECT() *MockTransactor_Expecter
type MockTransactor_Expecter ¶
type MockTransactor_Expecter struct {
// contains filtered or unexported fields
}
func (*MockTransactor_Expecter) WithTx ¶
func (_e *MockTransactor_Expecter) WithTx(_a0 interface{}, _a1 interface{}) *MockTransactor_WithTx_Call
WithTx is a helper method to define mock.On call
- _a0 context.Context
- _a1 func(context.Context)(interface{} , error)
type MockTransactor_WithTx_Call ¶
MockTransactor_WithTx_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithTx'
func (*MockTransactor_WithTx_Call) Return ¶
func (_c *MockTransactor_WithTx_Call) Return(_a0 interface{}, _a1 error) *MockTransactor_WithTx_Call
func (*MockTransactor_WithTx_Call) Run ¶
func (_c *MockTransactor_WithTx_Call) Run(run func(_a0 context.Context, _a1 func(context.Context) (interface{}, error))) *MockTransactor_WithTx_Call
func (*MockTransactor_WithTx_Call) RunAndReturn ¶
func (_c *MockTransactor_WithTx_Call) RunAndReturn(run func(context.Context, func(context.Context) (interface{}, error)) (interface{}, error)) *MockTransactor_WithTx_Call
Click to show internal directories.
Click to hide internal directories.