mock

package
v0.0.0-...-c42f892 Latest Latest
Warning

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

Go to latest
Published: May 12, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockClock

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

MockClock is a mock of Clock interface

func NewMockClock

func NewMockClock(ctrl *gomock.Controller) *MockClock

NewMockClock creates a new mock instance

func (*MockClock) EXPECT

func (m *MockClock) EXPECT() *MockClockMockRecorder

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

func (*MockClock) Now

func (m *MockClock) Now() time.Time

Now mocks base method

type MockClockMockRecorder

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

MockClockMockRecorder is the mock recorder for MockClock

func (*MockClockMockRecorder) Now

func (mr *MockClockMockRecorder) Now() *gomock.Call

Now indicates an expected call of Now

type MockDynamoDB

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

MockDynamoDB is a mock of DynamoDB interface

func NewMockDynamoDB

func NewMockDynamoDB(ctrl *gomock.Controller) *MockDynamoDB

NewMockDynamoDB creates a new mock instance

func (*MockDynamoDB) EXPECT

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

func (*MockDynamoDB) GetItem

GetItem mocks base method

func (*MockDynamoDB) PutItem

PutItem mocks base method

func (*MockDynamoDB) Query

Query mocks base method

type MockDynamoDBMockRecorder

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

MockDynamoDBMockRecorder is the mock recorder for MockDynamoDB

func (*MockDynamoDBMockRecorder) GetItem

func (mr *MockDynamoDBMockRecorder) GetItem(arg0 interface{}) *gomock.Call

GetItem indicates an expected call of GetItem

func (*MockDynamoDBMockRecorder) PutItem

func (mr *MockDynamoDBMockRecorder) PutItem(arg0 interface{}) *gomock.Call

PutItem indicates an expected call of PutItem

func (*MockDynamoDBMockRecorder) Query

func (mr *MockDynamoDBMockRecorder) Query(arg0 interface{}) *gomock.Call

Query indicates an expected call of Query

type MockGameRepository

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

MockGameRepository is a mock of GameRepository interface

func NewMockGameRepository

func NewMockGameRepository(ctrl *gomock.Controller) *MockGameRepository

NewMockGameRepository creates a new mock instance

func (*MockGameRepository) EXPECT

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

func (*MockGameRepository) Get

func (m *MockGameRepository) Get(userID, gameID string) (*domain.Game, error)

Get mocks base method

func (*MockGameRepository) GetAll

func (m *MockGameRepository) GetAll(userID string) ([]domain.Game, error)

GetAll mocks base method

func (*MockGameRepository) Save

func (m *MockGameRepository) Save(game domain.Game) error

Save mocks base method

type MockGameRepositoryMockRecorder

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

MockGameRepositoryMockRecorder is the mock recorder for MockGameRepository

func (*MockGameRepositoryMockRecorder) Get

func (mr *MockGameRepositoryMockRecorder) Get(userID, gameID interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockGameRepositoryMockRecorder) GetAll

func (mr *MockGameRepositoryMockRecorder) GetAll(userID interface{}) *gomock.Call

GetAll indicates an expected call of GetAll

func (*MockGameRepositoryMockRecorder) Save

func (mr *MockGameRepositoryMockRecorder) Save(game interface{}) *gomock.Call

Save indicates an expected call of Save

type MockRandom

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

MockRandom is a mock of Random interface

func NewMockRandom

func NewMockRandom(ctrl *gomock.Controller) *MockRandom

NewMockRandom creates a new mock instance

func (*MockRandom) EXPECT

func (m *MockRandom) EXPECT() *MockRandomMockRecorder

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

func (*MockRandom) GenerateID

func (m *MockRandom) GenerateID() string

GenerateID mocks base method

func (*MockRandom) GenerateN

func (m *MockRandom) GenerateN(n int) []int

GenerateN mocks base method

func (*MockRandom) Init

func (m *MockRandom) Init()

Init mocks base method

type MockRandomMockRecorder

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

MockRandomMockRecorder is the mock recorder for MockRandom

func (*MockRandomMockRecorder) GenerateID

func (mr *MockRandomMockRecorder) GenerateID() *gomock.Call

GenerateID indicates an expected call of GenerateID

func (*MockRandomMockRecorder) GenerateN

func (mr *MockRandomMockRecorder) GenerateN(n interface{}) *gomock.Call

GenerateN indicates an expected call of GenerateN

func (*MockRandomMockRecorder) Init

func (mr *MockRandomMockRecorder) Init() *gomock.Call

Init indicates an expected call of Init

Jump to

Keyboard shortcuts

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