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
func (*Bar) IWantWhisky ¶
IWantWhisky provides a mock function with given fields:
type Bar_Expecter ¶
type Bar_Expecter struct {
// contains filtered or unexported fields
}
func (*Bar_Expecter) IWantWhisky ¶
func (_e *Bar_Expecter) IWantWhisky() *Bar_IWantWhisky_Call
IWantWhisky is a helper method to define mock.On call
type Bar_IWantWhisky_Call ¶
Bar_IWantWhisky_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IWantWhisky'
func (*Bar_IWantWhisky_Call) Return ¶
func (_c *Bar_IWantWhisky_Call) Return(_a0 string) *Bar_IWantWhisky_Call
func (*Bar_IWantWhisky_Call) Run ¶
func (_c *Bar_IWantWhisky_Call) Run(run func()) *Bar_IWantWhisky_Call
func (*Bar_IWantWhisky_Call) RunAndReturn ¶
func (_c *Bar_IWantWhisky_Call) RunAndReturn(run func() string) *Bar_IWantWhisky_Call
Click to show internal directories.
Click to hide internal directories.