Documentation ¶
Index ¶
- type MockFunctions
- type MockFunctions_Expecter
- type MockFunctions_GetFactoryFunc_Call
- func (_c *MockFunctions_GetFactoryFunc_Call) Return(_a0 factory.Func, _a1 error) *MockFunctions_GetFactoryFunc_Call
- func (_c *MockFunctions_GetFactoryFunc_Call) Run(run func(funcName string)) *MockFunctions_GetFactoryFunc_Call
- func (_c *MockFunctions_GetFactoryFunc_Call) RunAndReturn(run func(string) (factory.Func, error)) *MockFunctions_GetFactoryFunc_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockFunctions ¶
MockFunctions is an autogenerated mock type for the Functions type
func NewMockFunctions ¶
func NewMockFunctions(t interface { mock.TestingT Cleanup(func()) }) *MockFunctions
NewMockFunctions creates a new instance of MockFunctions. 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 (*MockFunctions) EXPECT ¶
func (_m *MockFunctions) EXPECT() *MockFunctions_Expecter
func (*MockFunctions) GetFactoryFunc ¶
func (_m *MockFunctions) GetFactoryFunc(funcName string) (factory.Func, error)
GetFactoryFunc provides a mock function with given fields: funcName
type MockFunctions_Expecter ¶
type MockFunctions_Expecter struct {
// contains filtered or unexported fields
}
func (*MockFunctions_Expecter) GetFactoryFunc ¶
func (_e *MockFunctions_Expecter) GetFactoryFunc(funcName interface{}) *MockFunctions_GetFactoryFunc_Call
GetFactoryFunc is a helper method to define mock.On call
- funcName string
type MockFunctions_GetFactoryFunc_Call ¶
MockFunctions_GetFactoryFunc_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetFactoryFunc'
func (*MockFunctions_GetFactoryFunc_Call) Return ¶
func (_c *MockFunctions_GetFactoryFunc_Call) Return(_a0 factory.Func, _a1 error) *MockFunctions_GetFactoryFunc_Call
func (*MockFunctions_GetFactoryFunc_Call) Run ¶
func (_c *MockFunctions_GetFactoryFunc_Call) Run(run func(funcName string)) *MockFunctions_GetFactoryFunc_Call
func (*MockFunctions_GetFactoryFunc_Call) RunAndReturn ¶
func (_c *MockFunctions_GetFactoryFunc_Call) RunAndReturn(run func(string) (factory.Func, error)) *MockFunctions_GetFactoryFunc_Call
Click to show internal directories.
Click to hide internal directories.