mocks

package
v0.0.0-...-0440e18 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

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 MockDbi

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

MockDbi is a mock of Dbi interface

func NewMockDbi

func NewMockDbi(ctrl *gomock.Controller) *MockDbi

NewMockDbi creates a new mock instance

func (*MockDbi) AddCard

func (m *MockDbi) AddCard(arg0 int) (models.Card, models.ApiError)

AddCard mocks base method

func (*MockDbi) AddOrUpdateCustomer

func (m *MockDbi) AddOrUpdateCustomer(arg0 models.Customer) (models.Customer, models.ApiError)

AddOrUpdateCustomer mocks base method

func (*MockDbi) AddOrUpdateVendor

func (m *MockDbi) AddOrUpdateVendor(arg0 models.Vendor) (models.Vendor, models.ApiError)

AddOrUpdateVendor mocks base method

func (*MockDbi) Authorise

func (m *MockDbi) Authorise(arg0, arg1, arg2 int, arg3 string) (int, models.ApiError)

Authorise mocks base method

func (*MockDbi) Capture

func (m *MockDbi) Capture(arg0, arg1 int) (int, models.ApiError)

Capture mocks base method

func (*MockDbi) Close

func (m *MockDbi) Close()

Close mocks base method

func (*MockDbi) EXPECT

func (m *MockDbi) EXPECT() *MockDbiMockRecorder

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

func (*MockDbi) GetAuthorisation

func (m *MockDbi) GetAuthorisation(arg0 int) (models.Authorisation, models.ApiError)

GetAuthorisation mocks base method

func (*MockDbi) GetCard

func (m *MockDbi) GetCard(arg0 int) (models.Card, models.ApiError)

GetCard mocks base method

func (*MockDbi) GetCustomer

func (m *MockDbi) GetCustomer(arg0 int) (models.Customer, models.ApiError)

GetCustomer mocks base method

func (*MockDbi) GetCustomers

func (m *MockDbi) GetCustomers() ([]models.Customer, models.ApiError)

GetCustomers mocks base method

func (*MockDbi) GetVendor

func (m *MockDbi) GetVendor(arg0 int) (models.Vendor, models.ApiError)

GetVendor mocks base method

func (*MockDbi) GetVendors

func (m *MockDbi) GetVendors() ([]models.Vendor, models.ApiError)

GetVendors mocks base method

func (*MockDbi) Refund

func (m *MockDbi) Refund(arg0, arg1 int, arg2 string) (int, models.ApiError)

Refund mocks base method

func (*MockDbi) Reverse

func (m *MockDbi) Reverse(arg0, arg1 int, arg2 string) (int, models.ApiError)

Reverse mocks base method

func (*MockDbi) TopUp

func (m *MockDbi) TopUp(arg0, arg1 int, arg2 string) (int, models.ApiError)

TopUp mocks base method

type MockDbiMockRecorder

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

MockDbiMockRecorder is the mock recorder for MockDbi

func (*MockDbiMockRecorder) AddCard

func (mr *MockDbiMockRecorder) AddCard(arg0 interface{}) *gomock.Call

AddCard indicates an expected call of AddCard

func (*MockDbiMockRecorder) AddOrUpdateCustomer

func (mr *MockDbiMockRecorder) AddOrUpdateCustomer(arg0 interface{}) *gomock.Call

AddOrUpdateCustomer indicates an expected call of AddOrUpdateCustomer

func (*MockDbiMockRecorder) AddOrUpdateVendor

func (mr *MockDbiMockRecorder) AddOrUpdateVendor(arg0 interface{}) *gomock.Call

AddOrUpdateVendor indicates an expected call of AddOrUpdateVendor

func (*MockDbiMockRecorder) Authorise

func (mr *MockDbiMockRecorder) Authorise(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

Authorise indicates an expected call of Authorise

func (*MockDbiMockRecorder) Capture

func (mr *MockDbiMockRecorder) Capture(arg0, arg1 interface{}) *gomock.Call

Capture indicates an expected call of Capture

func (*MockDbiMockRecorder) Close

func (mr *MockDbiMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close

func (*MockDbiMockRecorder) GetAuthorisation

func (mr *MockDbiMockRecorder) GetAuthorisation(arg0 interface{}) *gomock.Call

GetAuthorisation indicates an expected call of GetAuthorisation

func (*MockDbiMockRecorder) GetCard

func (mr *MockDbiMockRecorder) GetCard(arg0 interface{}) *gomock.Call

GetCard indicates an expected call of GetCard

func (*MockDbiMockRecorder) GetCustomer

func (mr *MockDbiMockRecorder) GetCustomer(arg0 interface{}) *gomock.Call

GetCustomer indicates an expected call of GetCustomer

func (*MockDbiMockRecorder) GetCustomers

func (mr *MockDbiMockRecorder) GetCustomers() *gomock.Call

GetCustomers indicates an expected call of GetCustomers

func (*MockDbiMockRecorder) GetVendor

func (mr *MockDbiMockRecorder) GetVendor(arg0 interface{}) *gomock.Call

GetVendor indicates an expected call of GetVendor

func (*MockDbiMockRecorder) GetVendors

func (mr *MockDbiMockRecorder) GetVendors() *gomock.Call

GetVendors indicates an expected call of GetVendors

func (*MockDbiMockRecorder) Refund

func (mr *MockDbiMockRecorder) Refund(arg0, arg1, arg2 interface{}) *gomock.Call

Refund indicates an expected call of Refund

func (*MockDbiMockRecorder) Reverse

func (mr *MockDbiMockRecorder) Reverse(arg0, arg1, arg2 interface{}) *gomock.Call

Reverse indicates an expected call of Reverse

func (*MockDbiMockRecorder) TopUp

func (mr *MockDbiMockRecorder) TopUp(arg0, arg1, arg2 interface{}) *gomock.Call

TopUp indicates an expected call of TopUp

Jump to

Keyboard shortcuts

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