Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClient ¶
type MockClient struct {
// contains filtered or unexported fields
}
MockClient implements a gomock-compatible mock client for service EmptyService.
func NewMockClient ¶
func NewMockClient(ctrl *gomock.Controller) *MockClient
Build a new mock client for service EmptyService.
mockCtrl := gomock.NewController(t) client := emptyservicetest.NewMockClient(mockCtrl)
Use EXPECT() to set expectations on the mock.
func (*MockClient) EXPECT ¶
func (m *MockClient) EXPECT() *_MockClientRecorder
EXPECT returns an object that allows you to define an expectation on the EmptyService mock client.
Click to show internal directories.
Click to hide internal directories.