create_user_contract

package
v0.0.0-...-0fbe093 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 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 MockUseCase

type MockUseCase struct {
	mock.Mock
}

MockUseCase is an autogenerated mock type for the UseCase type

func NewMockUseCase

func NewMockUseCase(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockUseCase

NewMockUseCase creates a new instance of MockUseCase. 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 (*MockUseCase) Execute

func (_m *MockUseCase) Execute(ctx context.Context, request *user_dto.CreateUserRequest) (*entities.User, error)

Execute provides a mock function with given fields: ctx, request

type UseCase

type UseCase interface {
	Execute(ctx context.Context, request *user_dto.CreateUserRequest) (*entities.User, error)
}

Jump to

Keyboard shortcuts

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