Documentation ¶
Overview ¶
Package mock_printer is a generated GoMock package.
Index ¶
- type MockPrintService
- func (m *MockPrintService) EXPECT() *MockPrintServiceMockRecorder
- func (m *MockPrintService) GetStderr() io.Writer
- func (m *MockPrintService) GetStdout() io.Writer
- func (m *MockPrintService) Print(arg0 interface{}) error
- func (m *MockPrintService) SetStderr(arg0 io.Writer)
- func (m *MockPrintService) SetStdout(arg0 io.Writer)
- func (m *MockPrintService) Verbose(format string, a ...interface{})
- func (m *MockPrintService) Warn(arg0 interface{}) error
- type MockPrintServiceMockRecorder
- func (mr *MockPrintServiceMockRecorder) GetStderr() *gomock.Call
- func (mr *MockPrintServiceMockRecorder) GetStdout() *gomock.Call
- func (mr *MockPrintServiceMockRecorder) Print(arg0 interface{}) *gomock.Call
- func (mr *MockPrintServiceMockRecorder) SetStderr(arg0 interface{}) *gomock.Call
- func (mr *MockPrintServiceMockRecorder) SetStdout(arg0 interface{}) *gomock.Call
- func (mr *MockPrintServiceMockRecorder) Verbose(format interface{}, a ...interface{}) *gomock.Call
- func (mr *MockPrintServiceMockRecorder) Warn(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockPrintService ¶
type MockPrintService struct {
// contains filtered or unexported fields
}
MockPrintService is a mock of PrintService interface.
func NewMockPrintService ¶
func NewMockPrintService(ctrl *gomock.Controller) *MockPrintService
NewMockPrintService creates a new mock instance.
func (*MockPrintService) EXPECT ¶
func (m *MockPrintService) EXPECT() *MockPrintServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPrintService) GetStderr ¶
func (m *MockPrintService) GetStderr() io.Writer
GetStderr mocks base method.
func (*MockPrintService) GetStdout ¶
func (m *MockPrintService) GetStdout() io.Writer
GetStdout mocks base method.
func (*MockPrintService) Print ¶
func (m *MockPrintService) Print(arg0 interface{}) error
Print mocks base method.
func (*MockPrintService) SetStderr ¶
func (m *MockPrintService) SetStderr(arg0 io.Writer)
SetStderr mocks base method.
func (*MockPrintService) SetStdout ¶
func (m *MockPrintService) SetStdout(arg0 io.Writer)
SetStdout mocks base method.
func (*MockPrintService) Verbose ¶
func (m *MockPrintService) Verbose(format string, a ...interface{})
Verbose mocks base method.
func (*MockPrintService) Warn ¶
func (m *MockPrintService) Warn(arg0 interface{}) error
Warn mocks base method.
type MockPrintServiceMockRecorder ¶
type MockPrintServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockPrintServiceMockRecorder is the mock recorder for MockPrintService.
func (*MockPrintServiceMockRecorder) GetStderr ¶
func (mr *MockPrintServiceMockRecorder) GetStderr() *gomock.Call
GetStderr indicates an expected call of GetStderr.
func (*MockPrintServiceMockRecorder) GetStdout ¶
func (mr *MockPrintServiceMockRecorder) GetStdout() *gomock.Call
GetStdout indicates an expected call of GetStdout.
func (*MockPrintServiceMockRecorder) Print ¶
func (mr *MockPrintServiceMockRecorder) Print(arg0 interface{}) *gomock.Call
Print indicates an expected call of Print.
func (*MockPrintServiceMockRecorder) SetStderr ¶
func (mr *MockPrintServiceMockRecorder) SetStderr(arg0 interface{}) *gomock.Call
SetStderr indicates an expected call of SetStderr.
func (*MockPrintServiceMockRecorder) SetStdout ¶
func (mr *MockPrintServiceMockRecorder) SetStdout(arg0 interface{}) *gomock.Call
SetStdout indicates an expected call of SetStdout.
func (*MockPrintServiceMockRecorder) Verbose ¶
func (mr *MockPrintServiceMockRecorder) Verbose(format interface{}, a ...interface{}) *gomock.Call
Verbose indicates an expected call of Verbose.
func (*MockPrintServiceMockRecorder) Warn ¶
func (mr *MockPrintServiceMockRecorder) Warn(arg0 interface{}) *gomock.Call
Warn indicates an expected call of Warn.