mocks

package
v0.0.0-...-d389d3b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 14, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Driver

type Driver struct {
	mock.Mock
}

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

func (_m *Driver) ConvertError(driverError error) error

ConvertError provides a mock function with given fields: driverError

func (*Driver) EXPECT

func (_m *Driver) EXPECT() *Driver_Expecter

type Driver_ConvertError_Call

type Driver_ConvertError_Call struct {
	*mock.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 (*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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL