clorymock

package
v0.39.2 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockFrontendAPI

type MockFrontendAPI struct {
	mock.Mock
}

MockFrontendAPI is an autogenerated mock type for the FrontendAPI type

func NewMockFrontendAPI

func NewMockFrontendAPI(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockFrontendAPI

NewMockFrontendAPI creates a new instance of MockFrontendAPI. 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 (*MockFrontendAPI) EXPECT

func (*MockFrontendAPI) ToSession

ToSession provides a mock function with given fields: ctx

func (*MockFrontendAPI) ToSessionExecute

ToSessionExecute provides a mock function with given fields: r

type MockFrontendAPI_Expecter

type MockFrontendAPI_Expecter struct {
	// contains filtered or unexported fields
}

func (*MockFrontendAPI_Expecter) ToSession

func (_e *MockFrontendAPI_Expecter) ToSession(ctx interface{}) *MockFrontendAPI_ToSession_Call

ToSession is a helper method to define mock.On call

  • ctx context.Context

func (*MockFrontendAPI_Expecter) ToSessionExecute

func (_e *MockFrontendAPI_Expecter) ToSessionExecute(r interface{}) *MockFrontendAPI_ToSessionExecute_Call

ToSessionExecute is a helper method to define mock.On call

  • r client.FrontendAPIToSessionRequest

type MockFrontendAPI_ToSessionExecute_Call

type MockFrontendAPI_ToSessionExecute_Call struct {
	*mock.Call
}

MockFrontendAPI_ToSessionExecute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ToSessionExecute'

func (*MockFrontendAPI_ToSessionExecute_Call) Return

func (*MockFrontendAPI_ToSessionExecute_Call) Run

type MockFrontendAPI_ToSession_Call

type MockFrontendAPI_ToSession_Call struct {
	*mock.Call
}

MockFrontendAPI_ToSession_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ToSession'

func (*MockFrontendAPI_ToSession_Call) Return

func (*MockFrontendAPI_ToSession_Call) Run

func (*MockFrontendAPI_ToSession_Call) RunAndReturn

Jump to

Keyboard shortcuts

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