repositorymock

package
v0.0.0-...-c2c5a46 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package repositorymock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockCharacter

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

MockCharacter is a mock of Character interface

func NewMockCharacter

func NewMockCharacter(ctrl *gomock.Controller) *MockCharacter

NewMockCharacter creates a new mock instance

func (*MockCharacter) CreateOrUpdate

func (m *MockCharacter) CreateOrUpdate(ctx context.Context, chara *entity.Character) error

CreateOrUpdate mocks base method

func (*MockCharacter) EXPECT

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

func (*MockCharacter) LoadByID

func (m *MockCharacter) LoadByID(ctx context.Context, id uint) (*entity.Character, error)

LoadByID mocks base method

func (*MockCharacter) LoadMany

func (m *MockCharacter) LoadMany(ctx context.Context, predicate predicate.Character) ([]*entity.Character, error)

LoadMany mocks base method

func (*MockCharacter) RemoveByID

func (m *MockCharacter) RemoveByID(ctx context.Context, id uint) error

RemoveByID mocks base method

type MockCharacterMockRecorder

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

MockCharacterMockRecorder is the mock recorder for MockCharacter

func (*MockCharacterMockRecorder) CreateOrUpdate

func (mr *MockCharacterMockRecorder) CreateOrUpdate(ctx, chara interface{}) *gomock.Call

CreateOrUpdate indicates an expected call of CreateOrUpdate

func (*MockCharacterMockRecorder) LoadByID

func (mr *MockCharacterMockRecorder) LoadByID(ctx, id interface{}) *gomock.Call

LoadByID indicates an expected call of LoadByID

func (*MockCharacterMockRecorder) LoadMany

func (mr *MockCharacterMockRecorder) LoadMany(ctx, predicate interface{}) *gomock.Call

LoadMany indicates an expected call of LoadMany

func (*MockCharacterMockRecorder) RemoveByID

func (mr *MockCharacterMockRecorder) RemoveByID(ctx, id interface{}) *gomock.Call

RemoveByID indicates an expected call of RemoveByID

Jump to

Keyboard shortcuts

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