mocks

package
v0.0.0-...-d26b62e Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountRepository

type AccountRepository struct {
	mock.Mock
}

AccountRepository is an autogenerated mock type for the AccountRepository type

func NewAccountRepository

func NewAccountRepository(t interface {
	mock.TestingT
	Cleanup(func())
}) *AccountRepository

NewAccountRepository creates a new instance of AccountRepository. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*AccountRepository) Load

func (_m *AccountRepository) Load(_a0 string, _a1 string) (*aggregates.Account, error)

Load provides a mock function with given fields: _a0, _a1

func (*AccountRepository) Save

func (_m *AccountRepository) Save(_a0 ycq.AggregateRoot, _a1 *int) error

Save provides a mock function with given fields: _a0, _a1

Jump to

Keyboard shortcuts

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