mocks

package
v0.0.0-...-cd4de6a Latest Latest
Warning

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

Go to latest
Published: May 2, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientInterface

type ClientInterface struct {
	mock.Mock
}

ClientInterface is an autogenerated mock type for the ClientInterface type

func NewClientInterface

func NewClientInterface(t mockConstructorTestingTNewClientInterface) *ClientInterface

NewClientInterface creates a new instance of ClientInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*ClientInterface) FetchTreatment

FetchTreatment provides a mock function with given fields: ctx, projectId, params, body, reqEditors

func (*ClientInterface) FetchTreatmentWithBody

func (_m *ClientInterface) FetchTreatmentWithBody(ctx context.Context, projectId int64, params *treatment.FetchTreatmentParams, contentType string, body io.Reader, reqEditors ...treatment.RequestEditorFn) (*http.Response, error)

FetchTreatmentWithBody provides a mock function with given fields: ctx, projectId, params, contentType, body, reqEditors

Jump to

Keyboard shortcuts

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