mock_client

package
v0.10.3-0...-74752f2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 22, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockClient

type MockClient struct {
	mock.Mock
}

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

type MockClient_Assignment_Call struct {
	*mock.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 (*MockClient_Assignment_Call) Run

func (*MockClient_Assignment_Call) RunAndReturn

type MockClient_Close_Call

type MockClient_Close_Call struct {
	*mock.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 (*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

Assignment is a helper method to define mock.On call

func (*MockClient_Expecter) Close

Close is a helper method to define mock.On call

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL