mocks

package
v0.0.0-...-9417b64 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2023 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 Contract

type Contract struct {
	mock.Mock
}

Contract is an autogenerated mock type for the Contract type

func NewContract

func NewContract(t interface {
	mock.TestingT
	Cleanup(func())
}) *Contract

NewContract creates a new instance of Contract. 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 (*Contract) ExecuteCtx

func (_m *Contract) ExecuteCtx(ctx context.Context, username string, password string) (*user.ClientModelWithProfile, *errorInfo.BaseModel)

ExecuteCtx provides a mock function with given fields: ctx, username, password

Jump to

Keyboard shortcuts

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