mock_account

package
v0.0.0-...-db5a64d Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2019 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mock_account is a generated GoMock package.

Package mock_account is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockRepository

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

MockRepository is a mock of Repository interface

func NewMockRepository

func NewMockRepository(ctrl *gomock.Controller) *MockRepository

NewMockRepository creates a new mock instance

func (*MockRepository) EXPECT

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

func (*MockRepository) GetAccount

func (m *MockRepository) GetAccount(ID int64) (*domain.Account, error)

GetAccount mocks base method

func (*MockRepository) SaveAccount

func (m *MockRepository) SaveAccount(account *domain.Account) error

SaveAccount mocks base method

type MockRepositoryMockRecorder

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

MockRepositoryMockRecorder is the mock recorder for MockRepository

func (*MockRepositoryMockRecorder) GetAccount

func (mr *MockRepositoryMockRecorder) GetAccount(ID interface{}) *gomock.Call

GetAccount indicates an expected call of GetAccount

func (*MockRepositoryMockRecorder) SaveAccount

func (mr *MockRepositoryMockRecorder) SaveAccount(account interface{}) *gomock.Call

SaveAccount indicates an expected call of SaveAccount

type MockService

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

MockService is a mock of Service interface

func NewMockService

func NewMockService(ctrl *gomock.Controller) *MockService

NewMockService creates a new mock instance

func (*MockService) EXPECT

func (m *MockService) EXPECT() *MockServiceMockRecorder

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

func (*MockService) GetAccount

func (m *MockService) GetAccount(ID int64) (*domain.Account, error)

GetAccount mocks base method

func (*MockService) SaveAccount

func (m *MockService) SaveAccount(person *domain.Account) error

SaveAccount mocks base method

type MockServiceMockRecorder

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

MockServiceMockRecorder is the mock recorder for MockService

func (*MockServiceMockRecorder) GetAccount

func (mr *MockServiceMockRecorder) GetAccount(ID interface{}) *gomock.Call

GetAccount indicates an expected call of GetAccount

func (*MockServiceMockRecorder) SaveAccount

func (mr *MockServiceMockRecorder) SaveAccount(person interface{}) *gomock.Call

SaveAccount indicates an expected call of SaveAccount

Jump to

Keyboard shortcuts

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