mock_repository

package
v0.0.0-...-18998a6 Latest Latest
Warning

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

Go to latest
Published: May 11, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mock_repository 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) Authentication

func (m *MockUserRepository) Authentication(ctx context.Context) (*domain.User, error)

Authentication mocks base method

func (*MockUserRepository) Create

func (m *MockUserRepository) Create(ctx context.Context, u *domain.User) error

Create mocks base method

func (*MockUserRepository) EXPECT

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

func (*MockUserRepository) GetUIDByEmail

func (m *MockUserRepository) GetUIDByEmail(ctx context.Context, email string) (string, error)

GetUIDByEmail mocks base method

func (*MockUserRepository) Update

func (m *MockUserRepository) Update(ctx context.Context, u *domain.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) Authentication

func (mr *MockUserRepositoryMockRecorder) Authentication(ctx interface{}) *gomock.Call

Authentication indicates an expected call of Authentication

func (*MockUserRepositoryMockRecorder) Create

func (mr *MockUserRepositoryMockRecorder) Create(ctx, u interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockUserRepositoryMockRecorder) GetUIDByEmail

func (mr *MockUserRepositoryMockRecorder) GetUIDByEmail(ctx, email interface{}) *gomock.Call

GetUIDByEmail indicates an expected call of GetUIDByEmail

func (*MockUserRepositoryMockRecorder) Update

func (mr *MockUserRepositoryMockRecorder) Update(ctx, u 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