mocks

package
v0.0.0-...-df3562f Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CocotolaAuthClient

type CocotolaAuthClient struct {
	mock.Mock
}

CocotolaAuthClient is an autogenerated mock type for the CocotolaAuthClient type

func NewCocotolaAuthClient

func NewCocotolaAuthClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *CocotolaAuthClient

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

func (*CocotolaAuthClient) RetrieveUserInfo

func (_m *CocotolaAuthClient) RetrieveUserInfo(ctx context.Context, bearerToken string) (*api.AppUserInfoResponse, error)

RetrieveUserInfo provides a mock function with given fields: ctx, bearerToken

type CocotolaAuthClient_Expecter

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

func (*CocotolaAuthClient_Expecter) RetrieveUserInfo

func (_e *CocotolaAuthClient_Expecter) RetrieveUserInfo(ctx interface{}, bearerToken interface{}) *CocotolaAuthClient_RetrieveUserInfo_Call

RetrieveUserInfo is a helper method to define mock.On call

  • ctx context.Context
  • bearerToken string

type CocotolaAuthClient_RetrieveUserInfo_Call

type CocotolaAuthClient_RetrieveUserInfo_Call struct {
	*mock.Call
}

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

func (*CocotolaAuthClient_RetrieveUserInfo_Call) Return

func (*CocotolaAuthClient_RetrieveUserInfo_Call) Run

func (*CocotolaAuthClient_RetrieveUserInfo_Call) RunAndReturn

Jump to

Keyboard shortcuts

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