mocks

package
v0.97.0 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 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 TenantIdReader

type TenantIdReader struct {
	mock.Mock
}

TenantIdReader is an autogenerated mock type for the TenantIdReader type

func NewTenantIdReader

func NewTenantIdReader(t interface {
	mock.TestingT
	Cleanup(func())
}) *TenantIdReader

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

func (*TenantIdReader) Read

func (_m *TenantIdReader) Read(parentCtx context.Context) (string, error)

Read provides a mock function with given fields: parentCtx

type TenantIdReader_Expecter

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

func (*TenantIdReader_Expecter) Read

func (_e *TenantIdReader_Expecter) Read(parentCtx interface{}) *TenantIdReader_Read_Call

Read is a helper method to define mock.On call

  • parentCtx context.Context

type TenantIdReader_Read_Call

type TenantIdReader_Read_Call struct {
	*mock.Call
}

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

func (*TenantIdReader_Read_Call) Return

func (*TenantIdReader_Read_Call) Run

func (_c *TenantIdReader_Read_Call) Run(run func(parentCtx context.Context)) *TenantIdReader_Read_Call

func (*TenantIdReader_Read_Call) RunAndReturn

Jump to

Keyboard shortcuts

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