mocks

package
v0.0.0-...-bffa35e Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mocks 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 MockAccountRepository

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

MockAccountRepository is a mock of AccountRepository interface

func NewMockAccountRepository

func NewMockAccountRepository(ctrl *gomock.Controller) *MockAccountRepository

NewMockAccountRepository creates a new mock instance

func (*MockAccountRepository) Add

Add mocks base method

func (*MockAccountRepository) EXPECT

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

func (*MockAccountRepository) Get

func (m *MockAccountRepository) Get() ([]*coins.Account, error)

Get mocks base method

func (*MockAccountRepository) GetWithLock

GetWithLock mocks base method

func (*MockAccountRepository) Update

Update mocks base method

type MockAccountRepositoryMockRecorder

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

MockAccountRepositoryMockRecorder is the mock recorder for MockAccountRepository

func (*MockAccountRepositoryMockRecorder) Add

func (mr *MockAccountRepositoryMockRecorder) Add(account, tx interface{}) *gomock.Call

Add indicates an expected call of Add

func (*MockAccountRepositoryMockRecorder) Get

Get indicates an expected call of Get

func (*MockAccountRepositoryMockRecorder) GetWithLock

func (mr *MockAccountRepositoryMockRecorder) GetWithLock(id, tx interface{}) *gomock.Call

GetWithLock indicates an expected call of GetWithLock

func (*MockAccountRepositoryMockRecorder) Update

func (mr *MockAccountRepositoryMockRecorder) Update(account, tx interface{}) *gomock.Call

Update indicates an expected call of Update

type MockPaymentRepository

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

MockPaymentRepository is a mock of PaymentRepository interface

func NewMockPaymentRepository

func NewMockPaymentRepository(ctrl *gomock.Controller) *MockPaymentRepository

NewMockPaymentRepository creates a new mock instance

func (*MockPaymentRepository) Add

Add mocks base method

func (*MockPaymentRepository) EXPECT

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

func (*MockPaymentRepository) Get

func (m *MockPaymentRepository) Get() ([]*coins.Payment, error)

Get mocks base method

type MockPaymentRepositoryMockRecorder

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

MockPaymentRepositoryMockRecorder is the mock recorder for MockPaymentRepository

func (*MockPaymentRepositoryMockRecorder) Add

func (mr *MockPaymentRepositoryMockRecorder) Add(payment, tx interface{}) *gomock.Call

Add indicates an expected call of Add

func (*MockPaymentRepositoryMockRecorder) Get

Get indicates an expected call of Get

Jump to

Keyboard shortcuts

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