mock_service

package
v0.0.0-...-18998a6 Latest Latest
Warning

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

Go to latest
Published: May 11, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

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 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) Create

func (m *MockUserService) Create(ctx context.Context, u *domain.User) (*domain.User, error)

Create mocks base method

func (*MockUserService) EXPECT

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

func (*MockUserService) Update

func (m *MockUserService) Update(ctx context.Context, u *domain.User) (*domain.User, error)

Update mocks base method

func (*MockUserService) UploadThumbnail

func (m *MockUserService) UploadThumbnail(ctx context.Context, data []byte) (string, error)

UploadThumbnail mocks base method

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) Create

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

Create indicates an expected call of Create

func (*MockUserServiceMockRecorder) Update

func (mr *MockUserServiceMockRecorder) Update(ctx, u interface{}) *gomock.Call

Update indicates an expected call of Update

func (*MockUserServiceMockRecorder) UploadThumbnail

func (mr *MockUserServiceMockRecorder) UploadThumbnail(ctx, data interface{}) *gomock.Call

UploadThumbnail indicates an expected call of UploadThumbnail

Jump to

Keyboard shortcuts

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