Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Factory ¶
Factory is an autogenerated mock type for the Factory type
func NewFactory ¶
NewFactory creates a new instance of Factory. 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 (*Factory) Definition ¶
Definition provides a mock function with given fields:
func (*Factory) EXPECT ¶
func (_m *Factory) EXPECT() *Factory_Expecter
type Factory_Definition_Call ¶
Factory_Definition_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Definition'
func (*Factory_Definition_Call) Return ¶
func (_c *Factory_Definition_Call) Return(_a0 map[string]interface{}) *Factory_Definition_Call
func (*Factory_Definition_Call) Run ¶
func (_c *Factory_Definition_Call) Run(run func()) *Factory_Definition_Call
func (*Factory_Definition_Call) RunAndReturn ¶
func (_c *Factory_Definition_Call) RunAndReturn(run func() map[string]interface{}) *Factory_Definition_Call
type Factory_Expecter ¶
type Factory_Expecter struct {
// contains filtered or unexported fields
}
func (*Factory_Expecter) Definition ¶
func (_e *Factory_Expecter) Definition() *Factory_Definition_Call
Definition is a helper method to define mock.On call
type Model ¶
Model is an autogenerated mock type for the Model type
func NewModel ¶
NewModel creates a new instance of Model. 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 (*Model) EXPECT ¶
func (_m *Model) EXPECT() *Model_Expecter
type Model_Expecter ¶
type Model_Expecter struct {
// contains filtered or unexported fields
}
func (*Model_Expecter) Factory ¶
func (_e *Model_Expecter) Factory() *Model_Factory_Call
Factory is a helper method to define mock.On call
type Model_Factory_Call ¶
Model_Factory_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Factory'
func (*Model_Factory_Call) Return ¶
func (_c *Model_Factory_Call) Return(_a0 factory.Factory) *Model_Factory_Call
func (*Model_Factory_Call) Run ¶
func (_c *Model_Factory_Call) Run(run func()) *Model_Factory_Call
func (*Model_Factory_Call) RunAndReturn ¶
func (_c *Model_Factory_Call) RunAndReturn(run func() factory.Factory) *Model_Factory_Call