Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockMessenger
- type MockMessengerMockRecorder
- type MockTeamRepository
- func (m *MockTeamRepository) EXPECT() *MockTeamRepositoryMockRecorder
- func (m *MockTeamRepository) FindAll() model.Team
- func (m *MockTeamRepository) FindByMemberName(name string) (model.Team, bool)
- func (m *MockTeamRepository) FindByName(name string) (model.Team, bool)
- func (m *MockTeamRepository) Save(arg0 model.Team)
- type MockTeamRepositoryMockRecorder
- type MockUserRepository
- type MockUserRepositoryMockRecorder
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 ¶
func (m *MockMessenger) EXPECT() *MockMessengerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockMessengerMockRecorder ¶
type MockMessengerMockRecorder struct {
// contains filtered or unexported fields
}
MockMessengerMockRecorder is the mock recorder for MockMessenger.
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 ¶
func (m *MockTeamRepository) EXPECT() *MockTeamRepositoryMockRecorder
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 ¶
func (mr *MockTeamRepositoryMockRecorder) FindAll() *gomock.Call
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.
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 ¶
func (m *MockUserRepository) EXPECT() *MockUserRepositoryMockRecorder
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 ¶
func (mr *MockUserRepositoryMockRecorder) FindAll() *gomock.Call
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.