mock_repository

package
v0.0.0-...-2bfa9a3 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package mock_repository is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockTransactionRepository

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

MockTransactionRepository is a mock of TransactionRepository interface.

func NewMockTransactionRepository

func NewMockTransactionRepository(ctrl *gomock.Controller) *MockTransactionRepository

NewMockTransactionRepository creates a new mock instance.

func (*MockTransactionRepository) EXPECT

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

func (*MockTransactionRepository) Insert

func (m *MockTransactionRepository) Insert(id, account string, amount float64, status, errorMessage string) error

Insert mocks base method.

type MockTransactionRepositoryMockRecorder

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

MockTransactionRepositoryMockRecorder is the mock recorder for MockTransactionRepository.

func (*MockTransactionRepositoryMockRecorder) Insert

func (mr *MockTransactionRepositoryMockRecorder) Insert(id, account, amount, status, errorMessage interface{}) *gomock.Call

Insert indicates an expected call of Insert.

Jump to

Keyboard shortcuts

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