mock

package
v0.38.0-preview.0.0.3 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DataProvider

type DataProvider struct {
	mock.Mock
}

DataProvider is an autogenerated mock type for the DataProvider type

func NewDataProvider

func NewDataProvider(t interface {
	mock.TestingT
	Cleanup(func())
}) *DataProvider

NewDataProvider creates a new instance of DataProvider. 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 (*DataProvider) Close

func (_m *DataProvider) Close()

Close provides a mock function with given fields:

func (*DataProvider) ID

func (_m *DataProvider) ID() uuid.UUID

ID provides a mock function with given fields:

func (*DataProvider) Run

func (_m *DataProvider) Run(ctx context.Context)

Run provides a mock function with given fields: ctx

func (*DataProvider) Topic

func (_m *DataProvider) Topic() string

Topic provides a mock function with given fields:

Jump to

Keyboard shortcuts

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