mock_user

package
v0.0.0-...-4350bb9 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mock_user is a generated GoMock package.

Index

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

func (m *MockUserService) Authentication(ctx context.Context) (*user.User, error)

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

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

Jump to

Keyboard shortcuts

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