mocks

package
v0.0.0-...-5ef499a Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2024 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockMessenger

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

MockMessenger is a mock of Messenger interface.

func NewMockMessenger

func NewMockMessenger(ctrl *gomock.Controller) *MockMessenger

NewMockMessenger creates a new mock instance.

func (*MockMessenger) EXPECT

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

func (*MockMessenger) Message

func (m *MockMessenger) Message(p *player.Player, s string)

Message mocks base method.

type MockMessengerMockRecorder

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

MockMessengerMockRecorder is the mock recorder for MockMessenger.

func (*MockMessengerMockRecorder) Message

func (mr *MockMessengerMockRecorder) Message(p, s any) *gomock.Call

Message indicates an expected call of Message.

type MockTeamRepository

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

MockTeamRepository is a mock of TeamRepository interface.

func NewMockTeamRepository

func NewMockTeamRepository(ctrl *gomock.Controller) *MockTeamRepository

NewMockTeamRepository creates a new mock instance.

func (*MockTeamRepository) EXPECT

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

func (*MockTeamRepository) FindAll

func (m *MockTeamRepository) FindAll() model.Team

FindAll mocks base method.

func (*MockTeamRepository) FindByMemberName

func (m *MockTeamRepository) FindByMemberName(name string) (model.Team, bool)

FindByMemberName mocks base method.

func (*MockTeamRepository) FindByName

func (m *MockTeamRepository) FindByName(name string) (model.Team, bool)

FindByName mocks base method.

func (*MockTeamRepository) Save

func (m *MockTeamRepository) Save(arg0 model.Team)

Save mocks base method.

type MockTeamRepositoryMockRecorder

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

MockTeamRepositoryMockRecorder is the mock recorder for MockTeamRepository.

func (*MockTeamRepositoryMockRecorder) FindAll

FindAll indicates an expected call of FindAll.

func (*MockTeamRepositoryMockRecorder) FindByMemberName

func (mr *MockTeamRepositoryMockRecorder) FindByMemberName(name any) *gomock.Call

FindByMemberName indicates an expected call of FindByMemberName.

func (*MockTeamRepositoryMockRecorder) FindByName

func (mr *MockTeamRepositoryMockRecorder) FindByName(name any) *gomock.Call

FindByName indicates an expected call of FindByName.

func (*MockTeamRepositoryMockRecorder) Save

Save indicates an expected call of Save.

type MockUserRepository

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

MockUserRepository is a mock of UserRepository interface.

func NewMockUserRepository

func NewMockUserRepository(ctrl *gomock.Controller) *MockUserRepository

NewMockUserRepository creates a new mock instance.

func (*MockUserRepository) EXPECT

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

func (*MockUserRepository) FindAll

func (m *MockUserRepository) FindAll() model.User

FindAll mocks base method.

func (*MockUserRepository) FindByName

func (m *MockUserRepository) FindByName(name string) (model.User, bool)

FindByName mocks base method.

func (*MockUserRepository) Save

func (m *MockUserRepository) Save(arg0 model.User)

Save mocks base method.

type MockUserRepositoryMockRecorder

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

MockUserRepositoryMockRecorder is the mock recorder for MockUserRepository.

func (*MockUserRepositoryMockRecorder) FindAll

FindAll indicates an expected call of FindAll.

func (*MockUserRepositoryMockRecorder) FindByName

func (mr *MockUserRepositoryMockRecorder) FindByName(name any) *gomock.Call

FindByName indicates an expected call of FindByName.

func (*MockUserRepositoryMockRecorder) Save

Save indicates an expected call of Save.

Jump to

Keyboard shortcuts

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