mockuserrepository

package
v0.0.0-...-9cb16bd Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mockuserrepository is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockUserRepository

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

MockUserRepository is a mock of UserRepository interface.

func NewMockUserRepository

func NewMockUserRepository(ctrl *gomock.Controller) *MockUserRepository

NewMockUserRepository creates a new mock instance.

func (*MockUserRepository) Create

Create mocks base method.

func (*MockUserRepository) EXPECT

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

func (*MockUserRepository) FindOneByEmail

func (m *MockUserRepository) FindOneByEmail(email string) (*values.UserDBValue, *errorhandler.Response)

FindOneByEmail mocks base method.

func (*MockUserRepository) FindOneByID

FindOneByID mocks base method.

func (*MockUserRepository) FindOneByLogin

func (m *MockUserRepository) FindOneByLogin(login string) (*values.UserDBValue, *errorhandler.Response)

FindOneByLogin mocks base method.

func (*MockUserRepository) FindOneByUsername

func (m *MockUserRepository) FindOneByUsername(username string) (*values.UserDBValue, *errorhandler.Response)

FindOneByUsername mocks base method.

type MockUserRepositoryMockRecorder

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

MockUserRepositoryMockRecorder is the mock recorder for MockUserRepository.

func (*MockUserRepositoryMockRecorder) Create

func (mr *MockUserRepositoryMockRecorder) Create(user interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockUserRepositoryMockRecorder) FindOneByEmail

func (mr *MockUserRepositoryMockRecorder) FindOneByEmail(email interface{}) *gomock.Call

FindOneByEmail indicates an expected call of FindOneByEmail.

func (*MockUserRepositoryMockRecorder) FindOneByID

func (mr *MockUserRepositoryMockRecorder) FindOneByID(id interface{}) *gomock.Call

FindOneByID indicates an expected call of FindOneByID.

func (*MockUserRepositoryMockRecorder) FindOneByLogin

func (mr *MockUserRepositoryMockRecorder) FindOneByLogin(login interface{}) *gomock.Call

FindOneByLogin indicates an expected call of FindOneByLogin.

func (*MockUserRepositoryMockRecorder) FindOneByUsername

func (mr *MockUserRepositoryMockRecorder) FindOneByUsername(username interface{}) *gomock.Call

FindOneByUsername indicates an expected call of FindOneByUsername.

Jump to

Keyboard shortcuts

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