mocks

package
v0.0.0-...-553ec8c Latest Latest
Warning

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

Go to latest
Published: May 21, 2024 License: MIT Imports: 5 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 MockPaymentGateway

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

MockPaymentGateway is a mock of PaymentGateway interface.

func NewMockPaymentGateway

func NewMockPaymentGateway(ctrl *gomock.Controller) *MockPaymentGateway

NewMockPaymentGateway creates a new mock instance.

func (*MockPaymentGateway) CheckStatus

func (m *MockPaymentGateway) CheckStatus(arg0 context.Context, arg1 string) (gateway.PaymentStatus, error)

CheckStatus mocks base method.

func (*MockPaymentGateway) CreatePayment

func (m *MockPaymentGateway) CreatePayment(arg0 context.Context) (string, error)

CreatePayment mocks base method.

func (*MockPaymentGateway) EXPECT

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

func (*MockPaymentGateway) Retries

func (m *MockPaymentGateway) Retries() int

Retries mocks base method.

func (*MockPaymentGateway) Timeout

func (m *MockPaymentGateway) Timeout() time.Duration

Timeout mocks base method.

func (*MockPaymentGateway) TransactionID

func (m *MockPaymentGateway) TransactionID() string

TransactionID mocks base method.

type MockPaymentGatewayMockRecorder

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

MockPaymentGatewayMockRecorder is the mock recorder for MockPaymentGateway.

func (*MockPaymentGatewayMockRecorder) CheckStatus

func (mr *MockPaymentGatewayMockRecorder) CheckStatus(arg0, arg1 any) *gomock.Call

CheckStatus indicates an expected call of CheckStatus.

func (*MockPaymentGatewayMockRecorder) CreatePayment

func (mr *MockPaymentGatewayMockRecorder) CreatePayment(arg0 any) *gomock.Call

CreatePayment indicates an expected call of CreatePayment.

func (*MockPaymentGatewayMockRecorder) Retries

Retries indicates an expected call of Retries.

func (*MockPaymentGatewayMockRecorder) Timeout

Timeout indicates an expected call of Timeout.

func (*MockPaymentGatewayMockRecorder) TransactionID

func (mr *MockPaymentGatewayMockRecorder) TransactionID() *gomock.Call

TransactionID indicates an expected call of TransactionID.

Jump to

Keyboard shortcuts

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