mockups

package
v0.0.0-...-f21e2c8 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mockups is a generated GoMock package.

Package mockups is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockGamesRepository

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

MockGamesRepository is a mock of GamesRepository interface

func NewMockGamesRepository

func NewMockGamesRepository(ctrl *gomock.Controller) *MockGamesRepository

NewMockGamesRepository creates a new mock instance

func (*MockGamesRepository) EXPECT

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

func (*MockGamesRepository) Get

func (m *MockGamesRepository) Get(id string) (domain.Game, error)

Get mocks base method

func (*MockGamesRepository) Save

func (m *MockGamesRepository) Save(arg0 domain.Game) error

Save mocks base method

type MockGamesRepositoryMockRecorder

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

MockGamesRepositoryMockRecorder is the mock recorder for MockGamesRepository

func (*MockGamesRepositoryMockRecorder) Get

func (mr *MockGamesRepositoryMockRecorder) Get(id interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockGamesRepositoryMockRecorder) Save

func (mr *MockGamesRepositoryMockRecorder) Save(arg0 interface{}) *gomock.Call

Save indicates an expected call of Save

type MockUIDGen

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

MockUIDGen is a mock of UIDGen interface

func NewMockUIDGen

func NewMockUIDGen(ctrl *gomock.Controller) *MockUIDGen

NewMockUIDGen creates a new mock instance

func (*MockUIDGen) EXPECT

func (m *MockUIDGen) EXPECT() *MockUIDGenMockRecorder

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

func (*MockUIDGen) New

func (m *MockUIDGen) New() string

New mocks base method

type MockUIDGenMockRecorder

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

MockUIDGenMockRecorder is the mock recorder for MockUIDGen

func (*MockUIDGenMockRecorder) New

func (mr *MockUIDGenMockRecorder) New() *gomock.Call

New indicates an expected call of New

Jump to

Keyboard shortcuts

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