Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockUseCase ¶
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
Click to show internal directories.
Click to hide internal directories.