Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bar ¶
Bar is an autogenerated mock type for the Bar type
func NewBar ¶
NewBar creates a new instance of Bar. 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 (*Bar) EXPECT ¶
func (_m *Bar) EXPECT() *Bar_Expecter
type Bar_Expecter ¶
type Bar_Expecter struct {
// contains filtered or unexported fields
}
func (*Bar_Expecter) IWantWine ¶
func (_e *Bar_Expecter) IWantWine() *Bar_IWantWine_Call
IWantWine is a helper method to define mock.On call
type Bar_IWantWine_Call ¶
Bar_IWantWine_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IWantWine'
func (*Bar_IWantWine_Call) Return ¶
func (_c *Bar_IWantWine_Call) Return(_a0 string) *Bar_IWantWine_Call
func (*Bar_IWantWine_Call) Run ¶
func (_c *Bar_IWantWine_Call) Run(run func()) *Bar_IWantWine_Call
func (*Bar_IWantWine_Call) RunAndReturn ¶
func (_c *Bar_IWantWine_Call) RunAndReturn(run func() string) *Bar_IWantWine_Call
Click to show internal directories.
Click to hide internal directories.