mockrepository

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 mockrepository is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockBattle

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

MockBattle is a mock of Battle interface

func NewMockBattle

func NewMockBattle(ctrl *gomock.Controller) *MockBattle

NewMockBattle creates a new mock instance

func (*MockBattle) CreateOrUpdate

func (m *MockBattle) CreateOrUpdate(ctx context.Context, battle *entity.BattleSession) error

CreateOrUpdate mocks base method

func (*MockBattle) EXPECT

func (m *MockBattle) EXPECT() *MockBattleMockRecorder

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

func (*MockBattle) LoadByID

func (m *MockBattle) LoadByID(ctx context.Context, id uint) (*entity.BattleSession, error)

LoadByID mocks base method

func (*MockBattle) LoadMany

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

LoadMany mocks base method

func (*MockBattle) RemoveByID

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

RemoveByID mocks base method

type MockBattleMockRecorder

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

MockBattleMockRecorder is the mock recorder for MockBattle

func (*MockBattleMockRecorder) CreateOrUpdate

func (mr *MockBattleMockRecorder) CreateOrUpdate(ctx, battle interface{}) *gomock.Call

CreateOrUpdate indicates an expected call of CreateOrUpdate

func (*MockBattleMockRecorder) LoadByID

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

LoadByID indicates an expected call of LoadByID

func (*MockBattleMockRecorder) LoadMany

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

LoadMany indicates an expected call of LoadMany

func (*MockBattleMockRecorder) RemoveByID

func (mr *MockBattleMockRecorder) 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