mock_service

package
v0.0.0-...-c3afde3 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2023 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Overview

Package mock_service is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAuthRepository

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

MockAuthRepository is a mock of AuthRepository interface.

func NewMockAuthRepository

func NewMockAuthRepository(ctrl *gomock.Controller) *MockAuthRepository

NewMockAuthRepository creates a new mock instance.

func (*MockAuthRepository) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockAuthRepository) Login

func (m *MockAuthRepository) Login(ctx context.Context, clientID, email, password string) (*entity.Token, error)

Login mocks base method.

type MockAuthRepositoryMockRecorder

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

MockAuthRepositoryMockRecorder is the mock recorder for MockAuthRepository.

func (*MockAuthRepositoryMockRecorder) Login

func (mr *MockAuthRepositoryMockRecorder) Login(ctx, clientID, email, password interface{}) *gomock.Call

Login indicates an expected call of Login.

type MockAuthentication

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

MockAuthentication is a mock of Authentication interface.

func NewMockAuthentication

func NewMockAuthentication(ctrl *gomock.Controller) *MockAuthentication

NewMockAuthentication creates a new mock instance.

func (*MockAuthentication) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockAuthentication) Login

func (m *MockAuthentication) Login(ctx context.Context, clientID, email, password string) (*entity.Token, error)

Login mocks base method.

type MockAuthenticationMockRecorder

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

MockAuthenticationMockRecorder is the mock recorder for MockAuthentication.

func (*MockAuthenticationMockRecorder) Login

func (mr *MockAuthenticationMockRecorder) Login(ctx, clientID, email, password interface{}) *gomock.Call

Login indicates an expected call of Login.

Jump to

Keyboard shortcuts

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