Documentation ¶
Overview ¶
Package mock_ifacereader is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockReadable ¶
type MockReadable struct {
// contains filtered or unexported fields
}
MockReadable is a mock of the Readable interface in github.com/JosiahWitt/ensure/cmd/ensure/internal/ifacereader.
func NewMockReadable ¶
func NewMockReadable(ctrl *gomock.Controller) *MockReadable
NewMockReadable creates a new mock instance.
func (*MockReadable) EXPECT ¶
func (m *MockReadable) EXPECT() *MockReadableMockRecorder
EXPECT returns a struct that allows setting up expectations.
func (*MockReadable) NEW ¶
func (*MockReadable) NEW(ctrl *gomock.Controller) *MockReadable
NEW creates a MockReadable. This method is used internally by ensure.
func (*MockReadable) ReadPackages ¶
func (m *MockReadable) ReadPackages(_pkgDetails []*ifacereader.PackageDetails, _pkgNameGen ifacereader.PackageNameGenerator) ([]*ifacereader.Package, error)
ReadPackages mocks ReadPackages on Readable.
type MockReadableMockRecorder ¶
type MockReadableMockRecorder struct {
// contains filtered or unexported fields
}
MockReadableMockRecorder is the mock recorder for MockReadable.
func (*MockReadableMockRecorder) ReadPackages ¶
func (mr *MockReadableMockRecorder) ReadPackages(_pkgDetails interface{}, _pkgNameGen interface{}) *gomock.Call
ReadPackages sets up expectations for calls to ReadPackages. Calling this method multiple times allows expecting multiple calls to ReadPackages with a variety of parameters.
Inputs:
pkgDetails []*ifacereader.PackageDetails pkgNameGen ifacereader.PackageNameGenerator
Outputs:
[]*ifacereader.Package error