Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Modifier ¶
Modifier is an autogenerated mock type for the Modifier type
func NewModifier ¶
NewModifier creates a new instance of Modifier. 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 (*Modifier[T]) EXPECT ¶
func (_m *Modifier[T]) EXPECT() *Modifier_Expecter[T]
type Modifier_Enabled_Call ¶
Modifier_Enabled_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Enabled'
func (*Modifier_Enabled_Call[T]) Return ¶
func (_c *Modifier_Enabled_Call[T]) Return(_a0 bool) *Modifier_Enabled_Call[T]
func (*Modifier_Enabled_Call[T]) Run ¶
func (_c *Modifier_Enabled_Call[T]) Run(run func()) *Modifier_Enabled_Call[T]
func (*Modifier_Enabled_Call[T]) RunAndReturn ¶
func (_c *Modifier_Enabled_Call[T]) RunAndReturn(run func() bool) *Modifier_Enabled_Call[T]
type Modifier_Expecter ¶
type Modifier_Expecter[T interface{}] struct {
// contains filtered or unexported fields
}
func (*Modifier_Expecter[T]) Enabled ¶
func (_e *Modifier_Expecter[T]) Enabled() *Modifier_Enabled_Call[T]
Enabled is a helper method to define mock.On call
func (*Modifier_Expecter[T]) Modify ¶
func (_e *Modifier_Expecter[T]) Modify(_a0 interface{}) *Modifier_Modify_Call[T]
Modify is a helper method to define mock.On call
- _a0 *T
type Modifier_Modify_Call ¶
Modifier_Modify_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Modify'
func (*Modifier_Modify_Call[T]) Return ¶
func (_c *Modifier_Modify_Call[T]) Return(_a0 error) *Modifier_Modify_Call[T]
func (*Modifier_Modify_Call[T]) Run ¶
func (_c *Modifier_Modify_Call[T]) Run(run func(_a0 *T)) *Modifier_Modify_Call[T]
func (*Modifier_Modify_Call[T]) RunAndReturn ¶
func (_c *Modifier_Modify_Call[T]) RunAndReturn(run func(*T) error) *Modifier_Modify_Call[T]
Click to show internal directories.
Click to hide internal directories.