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