mock_service

package
v0.0.0-...-1c0d007 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mock_service is a generated GoMock package.

Package mock_service is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockGroupService

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

MockGroupService is a mock of GroupService interface

func NewMockGroupService

func NewMockGroupService(ctrl *gomock.Controller) *MockGroupService

NewMockGroupService creates a new mock instance

func (*MockGroupService) Create

func (m *MockGroupService) Create(ctx context.Context, u *domain.User, g *domain.Group) (*domain.Group, error)

Create mocks base method

func (*MockGroupService) EXPECT

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

func (*MockGroupService) Index

func (m *MockGroupService) Index(ctx context.Context, u *domain.User) ([]*domain.Group, error)

Index mocks base method

func (*MockGroupService) InviteUsers

func (m *MockGroupService) InviteUsers(ctx context.Context, g *domain.Group) error

InviteUsers mocks base method

func (*MockGroupService) IsContainInInvitedEmails

func (m *MockGroupService) IsContainInInvitedEmails(ctx context.Context, email string, g *domain.Group) bool

IsContainInInvitedEmails mocks base method

func (*MockGroupService) IsContainInUserIDs

func (m *MockGroupService) IsContainInUserIDs(ctx context.Context, userID string, g *domain.Group) bool

IsContainInUserIDs mocks base method

func (*MockGroupService) Join

func (m *MockGroupService) Join(ctx context.Context, g *domain.Group) error

Join mocks base method

func (*MockGroupService) Show

func (m *MockGroupService) Show(ctx context.Context, groupID string) (*domain.Group, error)

Show mocks base method

func (*MockGroupService) Update

func (m *MockGroupService) Update(ctx context.Context, g *domain.Group) error

Update mocks base method

type MockGroupServiceMockRecorder

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

MockGroupServiceMockRecorder is the mock recorder for MockGroupService

func (*MockGroupServiceMockRecorder) Create

func (mr *MockGroupServiceMockRecorder) Create(ctx, u, g interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockGroupServiceMockRecorder) Index

func (mr *MockGroupServiceMockRecorder) Index(ctx, u interface{}) *gomock.Call

Index indicates an expected call of Index

func (*MockGroupServiceMockRecorder) InviteUsers

func (mr *MockGroupServiceMockRecorder) InviteUsers(ctx, g interface{}) *gomock.Call

InviteUsers indicates an expected call of InviteUsers

func (*MockGroupServiceMockRecorder) IsContainInInvitedEmails

func (mr *MockGroupServiceMockRecorder) IsContainInInvitedEmails(ctx, email, g interface{}) *gomock.Call

IsContainInInvitedEmails indicates an expected call of IsContainInInvitedEmails

func (*MockGroupServiceMockRecorder) IsContainInUserIDs

func (mr *MockGroupServiceMockRecorder) IsContainInUserIDs(ctx, userID, g interface{}) *gomock.Call

IsContainInUserIDs indicates an expected call of IsContainInUserIDs

func (*MockGroupServiceMockRecorder) Join

func (mr *MockGroupServiceMockRecorder) Join(ctx, g interface{}) *gomock.Call

Join indicates an expected call of Join

func (*MockGroupServiceMockRecorder) Show

func (mr *MockGroupServiceMockRecorder) Show(ctx, groupID interface{}) *gomock.Call

Show indicates an expected call of Show

func (*MockGroupServiceMockRecorder) Update

func (mr *MockGroupServiceMockRecorder) Update(ctx, g interface{}) *gomock.Call

Update indicates an expected call of Update

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) (*domain.User, error)

Authentication 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

Jump to

Keyboard shortcuts

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