mocks

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mocks contains generated mocks for use in tests. These mocks are generated using the mock framework Testify.

The command to generate each of the mocks is defined as "go generate" directives in the file where the corresponding interface is defined.

To execute the commands in all the go generate directives of the project, run "go generate -x ./..." command from the project root.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdjudicatorSubscription

type AdjudicatorSubscription struct {
	mock.Mock
}

AdjudicatorSubscription is an autogenerated mock type for the AdjudicatorSubscription type

func NewAdjudicatorSubscription

func NewAdjudicatorSubscription(t testing.TB) *AdjudicatorSubscription

NewAdjudicatorSubscription creates a new instance of AdjudicatorSubscription. It also registers the testing.TB interface on the mock and a cleanup function to assert the mocks expectations.

func (*AdjudicatorSubscription) Close

func (_m *AdjudicatorSubscription) Close() error

Close provides a mock function with given fields:

func (*AdjudicatorSubscription) Err

func (_m *AdjudicatorSubscription) Err() error

Err provides a mock function with given fields:

func (*AdjudicatorSubscription) Next

Next provides a mock function with given fields:

type RegisterSubscriber

type RegisterSubscriber struct {
	mock.Mock
}

RegisterSubscriber is an autogenerated mock type for the RegisterSubscriber type

func NewRegisterSubscriber

func NewRegisterSubscriber(t testing.TB) *RegisterSubscriber

NewRegisterSubscriber creates a new instance of RegisterSubscriber. It also registers the testing.TB interface on the mock and a cleanup function to assert the mocks expectations.

func (*RegisterSubscriber) Register

Register provides a mock function with given fields: _a0, _a1, _a2

func (*RegisterSubscriber) Subscribe

Subscribe 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