Documentation ¶
Overview ¶
Package mock_mockwrite is a generated GoMock package.
Index ¶
- type MockWritable
- func (m *MockWritable) EXPECT() *MockWritableMockRecorder
- func (*MockWritable) NEW(ctrl *gomock.Controller) *MockWritable
- func (m *MockWritable) TidyMocks(_config *ensurefile.Config, _packages []*ifacereader.Package) error
- func (m *MockWritable) WriteMocks(_config *ensurefile.Config, _mocks []*mockgen.PackageMock) error
- type MockWritableMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockWritable ¶
type MockWritable struct {
// contains filtered or unexported fields
}
MockWritable is a mock of the Writable interface in github.com/JosiahWitt/ensure/cmd/ensure/internal/mockwrite.
func NewMockWritable ¶
func NewMockWritable(ctrl *gomock.Controller) *MockWritable
NewMockWritable creates a new mock instance.
func (*MockWritable) EXPECT ¶
func (m *MockWritable) EXPECT() *MockWritableMockRecorder
EXPECT returns a struct that allows setting up expectations.
func (*MockWritable) NEW ¶
func (*MockWritable) NEW(ctrl *gomock.Controller) *MockWritable
NEW creates a MockWritable. This method is used internally by ensure.
func (*MockWritable) TidyMocks ¶
func (m *MockWritable) TidyMocks(_config *ensurefile.Config, _packages []*ifacereader.Package) error
TidyMocks mocks TidyMocks on Writable.
func (*MockWritable) WriteMocks ¶
func (m *MockWritable) WriteMocks(_config *ensurefile.Config, _mocks []*mockgen.PackageMock) error
WriteMocks mocks WriteMocks on Writable.
type MockWritableMockRecorder ¶
type MockWritableMockRecorder struct {
// contains filtered or unexported fields
}
MockWritableMockRecorder is the mock recorder for MockWritable.
func (*MockWritableMockRecorder) TidyMocks ¶
func (mr *MockWritableMockRecorder) TidyMocks(_config interface{}, _packages interface{}) *gomock.Call
TidyMocks sets up expectations for calls to TidyMocks. Calling this method multiple times allows expecting multiple calls to TidyMocks with a variety of parameters.
Inputs:
config *ensurefile.Config packages []*ifacereader.Package
Outputs:
error
func (*MockWritableMockRecorder) WriteMocks ¶
func (mr *MockWritableMockRecorder) WriteMocks(_config interface{}, _mocks interface{}) *gomock.Call
WriteMocks sets up expectations for calls to WriteMocks. Calling this method multiple times allows expecting multiple calls to WriteMocks with a variety of parameters.
Inputs:
config *ensurefile.Config mocks []*mockgen.PackageMock
Outputs:
error