Documentation ¶
Overview ¶
Package mock_user is a generated GoMock package.
Index ¶
- type MockUserService
- func (m *MockUserService) Authentication(ctx context.Context) (*user.User, error)
- func (m *MockUserService) ContainsGroupID(ctx context.Context, u *user.User, groupID string) (bool, error)
- func (m *MockUserService) CreateUnauthorizedUser(ctx context.Context, name, thumbnail string) (*user.User, error)
- func (m *MockUserService) EXPECT() *MockUserServiceMockRecorder
- type MockUserServiceMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockUserService ¶
type MockUserService struct {
// contains filtered or unexported fields
}
MockUserService is a mock of UserService interface
func NewMockUserService ¶
func NewMockUserService(ctrl *gomock.Controller) *MockUserService
NewMockUserService creates a new mock instance
func (*MockUserService) Authentication ¶
Authentication mocks base method
func (*MockUserService) ContainsGroupID ¶
func (m *MockUserService) ContainsGroupID(ctx context.Context, u *user.User, groupID string) (bool, error)
ContainsGroupID mocks base method
func (*MockUserService) CreateUnauthorizedUser ¶
func (m *MockUserService) CreateUnauthorizedUser(ctx context.Context, name, thumbnail string) (*user.User, error)
CreateUnauthorizedUser mocks base method
func (*MockUserService) EXPECT ¶
func (m *MockUserService) EXPECT() *MockUserServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockUserServiceMockRecorder ¶
type MockUserServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockUserServiceMockRecorder is the mock recorder for MockUserService
func (*MockUserServiceMockRecorder) Authentication ¶
func (mr *MockUserServiceMockRecorder) Authentication(ctx interface{}) *gomock.Call
Authentication indicates an expected call of Authentication
func (*MockUserServiceMockRecorder) ContainsGroupID ¶
func (mr *MockUserServiceMockRecorder) ContainsGroupID(ctx, u, groupID interface{}) *gomock.Call
ContainsGroupID indicates an expected call of ContainsGroupID
func (*MockUserServiceMockRecorder) CreateUnauthorizedUser ¶
func (mr *MockUserServiceMockRecorder) CreateUnauthorizedUser(ctx, name, thumbnail interface{}) *gomock.Call
CreateUnauthorizedUser indicates an expected call of CreateUnauthorizedUser
Click to show internal directories.
Click to hide internal directories.