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 ¶
- type MockClock
- type MockClockMockRecorder
- type MockDynamoDB
- func (m *MockDynamoDB) EXPECT() *MockDynamoDBMockRecorder
- func (m *MockDynamoDB) GetItem(arg0 *dynamodb.GetItemInput) (*dynamodb.GetItemOutput, error)
- func (m *MockDynamoDB) PutItem(arg0 *dynamodb.PutItemInput) (*dynamodb.PutItemOutput, error)
- func (m *MockDynamoDB) Query(arg0 *dynamodb.QueryInput) (*dynamodb.QueryOutput, error)
- type MockDynamoDBMockRecorder
- type MockGameRepository
- type MockGameRepositoryMockRecorder
- type MockRandom
- type MockRandomMockRecorder
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
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 ¶
func (m *MockDynamoDB) EXPECT() *MockDynamoDBMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockDynamoDB) GetItem ¶
func (m *MockDynamoDB) GetItem(arg0 *dynamodb.GetItemInput) (*dynamodb.GetItemOutput, error)
GetItem mocks base method
func (*MockDynamoDB) PutItem ¶
func (m *MockDynamoDB) PutItem(arg0 *dynamodb.PutItemInput) (*dynamodb.PutItemOutput, error)
PutItem mocks base method
func (*MockDynamoDB) Query ¶
func (m *MockDynamoDB) Query(arg0 *dynamodb.QueryInput) (*dynamodb.QueryOutput, error)
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 ¶
func (m *MockGameRepository) EXPECT() *MockGameRepositoryMockRecorder
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
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
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