Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockEchoer ¶
MockEchoer is an autogenerated mock type for the Echoer type
func NewMockEchoer ¶
func NewMockEchoer(t interface { mock.TestingT Cleanup(func()) }) *MockEchoer
NewMockEchoer creates a new instance of MockEchoer. 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 (*MockEchoer) EXPECT ¶
func (_m *MockEchoer) EXPECT() *MockEchoer_Expecter
func (*MockEchoer) Echo ¶
func (_m *MockEchoer) Echo(_a0 string) string
Echo provides a mock function with given fields: _a0
type MockEchoer_Echo_Call ¶
MockEchoer_Echo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Echo'
func (*MockEchoer_Echo_Call) Return ¶
func (_c *MockEchoer_Echo_Call) Return(_a0 string) *MockEchoer_Echo_Call
func (*MockEchoer_Echo_Call) Run ¶
func (_c *MockEchoer_Echo_Call) Run(run func(_a0 string)) *MockEchoer_Echo_Call
func (*MockEchoer_Echo_Call) RunAndReturn ¶
func (_c *MockEchoer_Echo_Call) RunAndReturn(run func(string) string) *MockEchoer_Echo_Call
type MockEchoer_Expecter ¶
type MockEchoer_Expecter struct {
// contains filtered or unexported fields
}
func (*MockEchoer_Expecter) Echo ¶
func (_e *MockEchoer_Expecter) Echo(_a0 interface{}) *MockEchoer_Echo_Call
Echo is a helper method to define mock.On call
- _a0 string
Click to show internal directories.
Click to hide internal directories.