mocks

package
v0.0.0-...-e4a5794 Latest Latest
Warning

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

Go to latest
Published: May 21, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mocks 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

func (m *MockUserRepository) Create(arg0 *user.User) error

Create mocks base method

func (*MockUserRepository) Delete

func (m *MockUserRepository) Delete(arg0 uuid.UUID) error

Delete mocks base method

func (*MockUserRepository) EXPECT

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

func (*MockUserRepository) Get

func (m *MockUserRepository) Get(arg0, arg1 int, arg2, arg3 string, arg4 bool) ([]*user.User, error)

Get mocks base method

func (*MockUserRepository) GetByEndpoint

func (m *MockUserRepository) GetByEndpoint(arg0 string) (*user.User, error)

GetByEndpoint mocks base method

func (*MockUserRepository) GetById

func (m *MockUserRepository) GetById(arg0 uuid.UUID) (*user.User, error)

GetById mocks base method

func (*MockUserRepository) GetTotal

func (m *MockUserRepository) GetTotal(arg0 bool) (int, error)

GetTotal mocks base method

func (*MockUserRepository) Stats

func (m *MockUserRepository) Stats() (int, int, int, error)

Stats mocks base method

func (*MockUserRepository) Update

func (m *MockUserRepository) Update(arg0 *user.User) error

Update 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(arg0 interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockUserRepositoryMockRecorder) Delete

func (mr *MockUserRepositoryMockRecorder) Delete(arg0 interface{}) *gomock.Call

Delete indicates an expected call of Delete

func (*MockUserRepositoryMockRecorder) Get

func (mr *MockUserRepositoryMockRecorder) Get(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockUserRepositoryMockRecorder) GetByEndpoint

func (mr *MockUserRepositoryMockRecorder) GetByEndpoint(arg0 interface{}) *gomock.Call

GetByEndpoint indicates an expected call of GetByEndpoint

func (*MockUserRepositoryMockRecorder) GetById

func (mr *MockUserRepositoryMockRecorder) GetById(arg0 interface{}) *gomock.Call

GetById indicates an expected call of GetById

func (*MockUserRepositoryMockRecorder) GetTotal

func (mr *MockUserRepositoryMockRecorder) GetTotal(arg0 interface{}) *gomock.Call

GetTotal indicates an expected call of GetTotal

func (*MockUserRepositoryMockRecorder) Stats

Stats indicates an expected call of Stats

func (*MockUserRepositoryMockRecorder) Update

func (mr *MockUserRepositoryMockRecorder) Update(arg0 interface{}) *gomock.Call

Update indicates an expected call of Update

Jump to

Keyboard shortcuts

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