Documentation ¶
Index ¶
- type MockClient
- type MockClient_Assignment_Call
- func (_c *MockClient_Assignment_Call) Return(_a0 client.AssignmentService) *MockClient_Assignment_Call
- func (_c *MockClient_Assignment_Call) Run(run func()) *MockClient_Assignment_Call
- func (_c *MockClient_Assignment_Call) RunAndReturn(run func() client.AssignmentService) *MockClient_Assignment_Call
- type MockClient_Close_Call
- type MockClient_Expecter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClient ¶
MockClient is an autogenerated mock type for the Client type
func NewMockClient ¶
func NewMockClient(t interface { mock.TestingT Cleanup(func()) }) *MockClient
NewMockClient creates a new instance of MockClient. 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 (*MockClient) Assignment ¶
func (_m *MockClient) Assignment() client.AssignmentService
Assignment provides a mock function with given fields:
func (*MockClient) Close ¶
func (_m *MockClient) Close()
Close provides a mock function with given fields:
func (*MockClient) EXPECT ¶
func (_m *MockClient) EXPECT() *MockClient_Expecter
type MockClient_Assignment_Call ¶
MockClient_Assignment_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Assignment'
func (*MockClient_Assignment_Call) Return ¶
func (_c *MockClient_Assignment_Call) Return(_a0 client.AssignmentService) *MockClient_Assignment_Call
func (*MockClient_Assignment_Call) Run ¶
func (_c *MockClient_Assignment_Call) Run(run func()) *MockClient_Assignment_Call
func (*MockClient_Assignment_Call) RunAndReturn ¶
func (_c *MockClient_Assignment_Call) RunAndReturn(run func() client.AssignmentService) *MockClient_Assignment_Call
type MockClient_Close_Call ¶
MockClient_Close_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Close'
func (*MockClient_Close_Call) Return ¶
func (_c *MockClient_Close_Call) Return() *MockClient_Close_Call
func (*MockClient_Close_Call) Run ¶
func (_c *MockClient_Close_Call) Run(run func()) *MockClient_Close_Call
func (*MockClient_Close_Call) RunAndReturn ¶
func (_c *MockClient_Close_Call) RunAndReturn(run func()) *MockClient_Close_Call
type MockClient_Expecter ¶
type MockClient_Expecter struct {
// contains filtered or unexported fields
}
func (*MockClient_Expecter) Assignment ¶
func (_e *MockClient_Expecter) Assignment() *MockClient_Assignment_Call
Assignment is a helper method to define mock.On call
func (*MockClient_Expecter) Close ¶
func (_e *MockClient_Expecter) Close() *MockClient_Close_Call
Close is a helper method to define mock.On call