mocks

package
v0.0.0-...-0308a11 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2018 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package mock_service is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockIUser

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

MockIUser is a mock of IUser interface

func NewMockIUser

func NewMockIUser(ctrl *gomock.Controller) *MockIUser

NewMockIUser creates a new mock instance

func (*MockIUser) DeleteByID

func (m *MockIUser) DeleteByID(arg0 bson.ObjectId) error

DeleteByID mocks base method

func (*MockIUser) EXPECT

func (m *MockIUser) EXPECT() *MockIUserMockRecorder

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

func (*MockIUser) GetByID

func (m *MockIUser) GetByID(arg0 bson.ObjectId) (*model.User, error)

GetByID mocks base method

func (*MockIUser) Paginate

func (m *MockIUser) Paginate(arg0 bson.M, arg1, arg2 int) ([]*model.User, *golang_odm.PaginationInfo, error)

Paginate mocks base method

func (*MockIUser) Save

func (m *MockIUser) Save(arg0 *model.User) error

Save mocks base method

type MockIUserMockRecorder

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

MockIUserMockRecorder is the mock recorder for MockIUser

func (*MockIUserMockRecorder) DeleteByID

func (mr *MockIUserMockRecorder) DeleteByID(arg0 interface{}) *gomock.Call

DeleteByID indicates an expected call of DeleteByID

func (*MockIUserMockRecorder) GetByID

func (mr *MockIUserMockRecorder) GetByID(arg0 interface{}) *gomock.Call

GetByID indicates an expected call of GetByID

func (*MockIUserMockRecorder) Paginate

func (mr *MockIUserMockRecorder) Paginate(arg0, arg1, arg2 interface{}) *gomock.Call

Paginate indicates an expected call of Paginate

func (*MockIUserMockRecorder) Save

func (mr *MockIUserMockRecorder) Save(arg0 interface{}) *gomock.Call

Save indicates an expected call of Save

type MockIUserService

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

MockIUserService is a mock of IUserService interface

func NewMockIUserService

func NewMockIUserService(ctrl *gomock.Controller) *MockIUserService

NewMockIUserService creates a new mock instance

func (*MockIUserService) Create

func (m *MockIUserService) Create(arg0 *model.User) error

Create mocks base method

func (*MockIUserService) DeleteByID

func (m *MockIUserService) DeleteByID(arg0 bson.ObjectId) error

DeleteByID mocks base method

func (*MockIUserService) EXPECT

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

func (*MockIUserService) FindByIdAndReplace

func (m *MockIUserService) FindByIdAndReplace(arg0 bson.ObjectId, arg1 *model.User) error

FindByIdAndReplace mocks base method

func (*MockIUserService) GetByID

func (m *MockIUserService) GetByID(arg0 bson.ObjectId) (*model.User, error)

GetByID mocks base method

func (*MockIUserService) Paginate

Paginate mocks base method

type MockIUserServiceMockRecorder

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

MockIUserServiceMockRecorder is the mock recorder for MockIUserService

func (*MockIUserServiceMockRecorder) Create

func (mr *MockIUserServiceMockRecorder) Create(arg0 interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockIUserServiceMockRecorder) DeleteByID

func (mr *MockIUserServiceMockRecorder) DeleteByID(arg0 interface{}) *gomock.Call

DeleteByID indicates an expected call of DeleteByID

func (*MockIUserServiceMockRecorder) FindByIdAndReplace

func (mr *MockIUserServiceMockRecorder) FindByIdAndReplace(arg0, arg1 interface{}) *gomock.Call

FindByIdAndReplace indicates an expected call of FindByIdAndReplace

func (*MockIUserServiceMockRecorder) GetByID

func (mr *MockIUserServiceMockRecorder) GetByID(arg0 interface{}) *gomock.Call

GetByID indicates an expected call of GetByID

func (*MockIUserServiceMockRecorder) Paginate

func (mr *MockIUserServiceMockRecorder) Paginate(arg0 interface{}) *gomock.Call

Paginate indicates an expected call of Paginate

Jump to

Keyboard shortcuts

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