Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExpectOption ¶
ExpectOption is an autogenerated mock type for the ExpectOption type
func NewExpectOption ¶
func NewExpectOption(t mockConstructorTestingTNewExpectOption) *ExpectOption
NewExpectOption creates a new instance of ExpectOption. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*ExpectOption) EXPECT ¶
func (_m *ExpectOption) EXPECT() *ExpectOption_Expecter
type ExpectOption_Execute_Call ¶
ExpectOption_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'
func (*ExpectOption_Execute_Call) Return ¶
func (_c *ExpectOption_Execute_Call) Return() *ExpectOption_Execute_Call
func (*ExpectOption_Execute_Call) Run ¶
func (_c *ExpectOption_Execute_Call) Run(run func(t *testing.T, response *http.Response)) *ExpectOption_Execute_Call
type ExpectOption_Expecter ¶
type ExpectOption_Expecter struct {
// contains filtered or unexported fields
}
func (*ExpectOption_Expecter) Execute ¶
func (_e *ExpectOption_Expecter) Execute(t interface{}, response interface{}) *ExpectOption_Execute_Call
Execute is a helper method to define mock.On call
- t *testing.T
- response *http.Response
Click to show internal directories.
Click to hide internal directories.