mocks

package
v0.0.0-...-9be93d0 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Facade

type Facade struct {
	mock.Mock
}

Facade is an autogenerated mock type for the Facade type

func NewFacade

func NewFacade(t interface {
	mock.TestingT
	Cleanup(func())
}) *Facade

NewFacade creates a new instance of Facade. 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 (*Facade) Call

func (_m *Facade) Call(seeders []seeder.Seeder) error

Call provides a mock function with given fields: seeders

func (*Facade) CallOnce

func (_m *Facade) CallOnce(seeders []seeder.Seeder) error

CallOnce provides a mock function with given fields: seeders

func (*Facade) GetSeeder

func (_m *Facade) GetSeeder(name string) seeder.Seeder

GetSeeder provides a mock function with given fields: name

func (*Facade) GetSeeders

func (_m *Facade) GetSeeders() []seeder.Seeder

GetSeeders provides a mock function with given fields:

func (*Facade) Register

func (_m *Facade) Register(seeders []seeder.Seeder)

Register provides a mock function with given fields: seeders

Jump to

Keyboard shortcuts

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