mock_repository

package
v0.0.0-...-36a3ffb Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mock_repository is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockRepository

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

MockRepository is a mock of Repository interface

func NewMockRepository

func NewMockRepository(ctrl *gomock.Controller) *MockRepository

NewMockRepository creates a new mock instance

func (*MockRepository) CreateCompetition

func (m *MockRepository) CreateCompetition(name, competitionType string, externalEntityId *string) (*models.Competition, error)

CreateCompetition mocks base method

func (*MockRepository) CreateTeam

func (m *MockRepository) CreateTeam(teamName string, externalEntityId, imageUrl *string) (*models.Team, error)

CreateTeam mocks base method

func (*MockRepository) EXPECT

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

func (*MockRepository) ListCompetitions

func (m *MockRepository) ListCompetitions(limit, offset int) ([]*models.Competition, error)

ListCompetitions mocks base method

func (*MockRepository) ListTeams

func (m *MockRepository) ListTeams(limit, offset int) ([]*models.Team, error)

ListTeams mocks base method

type MockRepositoryMockRecorder

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

MockRepositoryMockRecorder is the mock recorder for MockRepository

func (*MockRepositoryMockRecorder) CreateCompetition

func (mr *MockRepositoryMockRecorder) CreateCompetition(name, competitionType, externalEntityId interface{}) *gomock.Call

CreateCompetition indicates an expected call of CreateCompetition

func (*MockRepositoryMockRecorder) CreateTeam

func (mr *MockRepositoryMockRecorder) CreateTeam(teamName, externalEntityId, imageUrl interface{}) *gomock.Call

CreateTeam indicates an expected call of CreateTeam

func (*MockRepositoryMockRecorder) ListCompetitions

func (mr *MockRepositoryMockRecorder) ListCompetitions(limit, offset interface{}) *gomock.Call

ListCompetitions indicates an expected call of ListCompetitions

func (*MockRepositoryMockRecorder) ListTeams

func (mr *MockRepositoryMockRecorder) ListTeams(limit, offset interface{}) *gomock.Call

ListTeams indicates an expected call of ListTeams

type MockrealWorldRepository

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

MockrealWorldRepository is a mock of realWorldRepository interface

func NewMockrealWorldRepository

func NewMockrealWorldRepository(ctrl *gomock.Controller) *MockrealWorldRepository

NewMockrealWorldRepository creates a new mock instance

func (*MockrealWorldRepository) CreateCompetition

func (m *MockrealWorldRepository) CreateCompetition(name, competitionType string, externalEntityId *string) (*models.Competition, error)

CreateCompetition mocks base method

func (*MockrealWorldRepository) CreateTeam

func (m *MockrealWorldRepository) CreateTeam(teamName string, externalEntityId, imageUrl *string) (*models.Team, error)

CreateTeam mocks base method

func (*MockrealWorldRepository) EXPECT

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

func (*MockrealWorldRepository) ListCompetitions

func (m *MockrealWorldRepository) ListCompetitions(limit, offset int) ([]*models.Competition, error)

ListCompetitions mocks base method

func (*MockrealWorldRepository) ListTeams

func (m *MockrealWorldRepository) ListTeams(limit, offset int) ([]*models.Team, error)

ListTeams mocks base method

type MockrealWorldRepositoryMockRecorder

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

MockrealWorldRepositoryMockRecorder is the mock recorder for MockrealWorldRepository

func (*MockrealWorldRepositoryMockRecorder) CreateCompetition

func (mr *MockrealWorldRepositoryMockRecorder) CreateCompetition(name, competitionType, externalEntityId interface{}) *gomock.Call

CreateCompetition indicates an expected call of CreateCompetition

func (*MockrealWorldRepositoryMockRecorder) CreateTeam

func (mr *MockrealWorldRepositoryMockRecorder) CreateTeam(teamName, externalEntityId, imageUrl interface{}) *gomock.Call

CreateTeam indicates an expected call of CreateTeam

func (*MockrealWorldRepositoryMockRecorder) ListCompetitions

func (mr *MockrealWorldRepositoryMockRecorder) ListCompetitions(limit, offset interface{}) *gomock.Call

ListCompetitions indicates an expected call of ListCompetitions

func (*MockrealWorldRepositoryMockRecorder) ListTeams

func (mr *MockrealWorldRepositoryMockRecorder) ListTeams(limit, offset interface{}) *gomock.Call

ListTeams indicates an expected call of ListTeams

Jump to

Keyboard shortcuts

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