Documentation ¶
Index ¶
- type MockActionMaker
- type MockActionMaker_Expecter
- type MockActionMaker_MakeAction_Call
- func (_c *MockActionMaker_MakeAction_Call) Return(_a0 action.Action, _a1 error) *MockActionMaker_MakeAction_Call
- func (_c *MockActionMaker_MakeAction_Call) Run(run func(config types.Action, sl services.ServiceLocator, defaultTimeout int)) *MockActionMaker_MakeAction_Call
- func (_c *MockActionMaker_MakeAction_Call) RunAndReturn(run func(types.Action, services.ServiceLocator, int) (action.Action, error)) *MockActionMaker_MakeAction_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockActionMaker ¶
MockActionMaker is an autogenerated mock type for the ActionMaker type
func NewMockActionMaker ¶
func NewMockActionMaker(t interface { mock.TestingT Cleanup(func()) }) *MockActionMaker
NewMockActionMaker creates a new instance of MockActionMaker. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockActionMaker) EXPECT ¶
func (_m *MockActionMaker) EXPECT() *MockActionMaker_Expecter
func (*MockActionMaker) MakeAction ¶
func (_m *MockActionMaker) MakeAction(config types.Action, sl services.ServiceLocator, defaultTimeout int) (action.Action, error)
MakeAction provides a mock function with given fields: config, sl, defaultTimeout
type MockActionMaker_Expecter ¶
type MockActionMaker_Expecter struct {
// contains filtered or unexported fields
}
func (*MockActionMaker_Expecter) MakeAction ¶
func (_e *MockActionMaker_Expecter) MakeAction(config interface{}, sl interface{}, defaultTimeout interface{}) *MockActionMaker_MakeAction_Call
MakeAction is a helper method to define mock.On call
- config types.Action
- sl services.ServiceLocator
- defaultTimeout int
type MockActionMaker_MakeAction_Call ¶
MockActionMaker_MakeAction_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeAction'
func (*MockActionMaker_MakeAction_Call) Return ¶
func (_c *MockActionMaker_MakeAction_Call) Return(_a0 action.Action, _a1 error) *MockActionMaker_MakeAction_Call
func (*MockActionMaker_MakeAction_Call) Run ¶
func (_c *MockActionMaker_MakeAction_Call) Run(run func(config types.Action, sl services.ServiceLocator, defaultTimeout int)) *MockActionMaker_MakeAction_Call
func (*MockActionMaker_MakeAction_Call) RunAndReturn ¶
func (_c *MockActionMaker_MakeAction_Call) RunAndReturn(run func(types.Action, services.ServiceLocator, int) (action.Action, error)) *MockActionMaker_MakeAction_Call
Click to show internal directories.
Click to hide internal directories.