Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockReader ¶
MockReader is an autogenerated mock type for the Reader type
func NewMockReader ¶
func NewMockReader(t interface { mock.TestingT Cleanup(func()) }) *MockReader
NewMockReader creates a new instance of MockReader. 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 (*MockReader) EXPECT ¶
func (_m *MockReader) EXPECT() *MockReader_Expecter
type MockReader_Expecter ¶
type MockReader_Expecter struct {
// contains filtered or unexported fields
}
func (*MockReader_Expecter) Read ¶
func (_e *MockReader_Expecter) Read(p interface{}) *MockReader_Read_Call
Read is a helper method to define mock.On call
- p []byte
type MockReader_Read_Call ¶
MockReader_Read_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Read'
func (*MockReader_Read_Call) Return ¶
func (_c *MockReader_Read_Call) Return(n int, err error) *MockReader_Read_Call
func (*MockReader_Read_Call) Run ¶
func (_c *MockReader_Read_Call) Run(run func(p []byte)) *MockReader_Read_Call
func (*MockReader_Read_Call) RunAndReturn ¶
func (_c *MockReader_Read_Call) RunAndReturn(run func([]byte) (int, error)) *MockReader_Read_Call
Click to show internal directories.
Click to hide internal directories.