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