Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DBErrorOption ¶
DBErrorOption is an autogenerated mock type for the DBErrorOption type
func NewDBErrorOption ¶
func NewDBErrorOption(t mockConstructorTestingTNewDBErrorOption) *DBErrorOption
NewDBErrorOption creates a new instance of DBErrorOption. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*DBErrorOption) EXPECT ¶
func (_m *DBErrorOption) EXPECT() *DBErrorOption_Expecter
func (*DBErrorOption) Execute ¶
func (_m *DBErrorOption) Execute(dbError *errors.DBError)
Execute provides a mock function with given fields: dbError
type DBErrorOption_Execute_Call ¶
DBErrorOption_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'
func (*DBErrorOption_Execute_Call) Return ¶
func (_c *DBErrorOption_Execute_Call) Return() *DBErrorOption_Execute_Call
func (*DBErrorOption_Execute_Call) Run ¶
func (_c *DBErrorOption_Execute_Call) Run(run func(dbError *errors.DBError)) *DBErrorOption_Execute_Call
type DBErrorOption_Expecter ¶
type DBErrorOption_Expecter struct {
// contains filtered or unexported fields
}
func (*DBErrorOption_Expecter) Execute ¶
func (_e *DBErrorOption_Expecter) Execute(dbError interface{}) *DBErrorOption_Execute_Call
Execute is a helper method to define mock.On call
- dbError *errors.DBError
Click to show internal directories.
Click to hide internal directories.