mocks

package
v0.73.0-preview.12 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2023 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockBroker

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

MockBroker is a mock of Broker interface.

func NewMockBroker

func NewMockBroker(ctrl *gomock.Controller) *MockBroker

NewMockBroker creates a new mock instance.

func (*MockBroker) EXPECT

func (m *MockBroker) EXPECT() *MockBrokerMockRecorder

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

func (*MockBroker) Send

func (m *MockBroker) Send(arg0 events.Event)

Send mocks base method.

type MockBrokerMockRecorder

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

MockBrokerMockRecorder is the mock recorder for MockBroker.

func (*MockBrokerMockRecorder) Send

func (mr *MockBrokerMockRecorder) Send(arg0 interface{}) *gomock.Call

Send indicates an expected call of Send.

type MockEpochEngine

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

MockEpochEngine is a mock of EpochEngine interface.

func NewMockEpochEngine

func NewMockEpochEngine(ctrl *gomock.Controller) *MockEpochEngine

NewMockEpochEngine creates a new mock instance.

func (*MockEpochEngine) EXPECT

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

func (*MockEpochEngine) NotifyOnEpoch

func (m *MockEpochEngine) NotifyOnEpoch(arg0, arg1 func(context.Context, types.Epoch))

NotifyOnEpoch mocks base method.

type MockEpochEngineMockRecorder

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

MockEpochEngineMockRecorder is the mock recorder for MockEpochEngine.

func (*MockEpochEngineMockRecorder) NotifyOnEpoch

func (mr *MockEpochEngineMockRecorder) NotifyOnEpoch(arg0, arg1 interface{}) *gomock.Call

NotifyOnEpoch indicates an expected call of NotifyOnEpoch.

type MockTimeService

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

MockTimeService is a mock of TimeService interface.

func NewMockTimeService

func NewMockTimeService(ctrl *gomock.Controller) *MockTimeService

NewMockTimeService creates a new mock instance.

func (*MockTimeService) EXPECT

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

func (*MockTimeService) GetTimeNow

func (m *MockTimeService) GetTimeNow() time.Time

GetTimeNow mocks base method.

type MockTimeServiceMockRecorder

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

MockTimeServiceMockRecorder is the mock recorder for MockTimeService.

func (*MockTimeServiceMockRecorder) GetTimeNow

func (mr *MockTimeServiceMockRecorder) GetTimeNow() *gomock.Call

GetTimeNow indicates an expected call of GetTimeNow.

Jump to

Keyboard shortcuts

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