mocks

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2024 License: GPL-3.0 Imports: 4 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 MockConfigProvider

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

MockConfigProvider is a mock of ConfigProvider interface.

func NewMockConfigProvider

func NewMockConfigProvider(ctrl *gomock.Controller) *MockConfigProvider

NewMockConfigProvider creates a new mock instance.

func (*MockConfigProvider) EXPECT

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

func (*MockConfigProvider) GetGenesisTime

func (m *MockConfigProvider) GetGenesisTime() time.Time

GetGenesisTime mocks base method.

func (*MockConfigProvider) SlotDurationSec

func (m *MockConfigProvider) SlotDurationSec() time.Duration

SlotDurationSec mocks base method.

type MockConfigProviderMockRecorder

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

MockConfigProviderMockRecorder is the mock recorder for MockConfigProvider.

func (*MockConfigProviderMockRecorder) GetGenesisTime

func (mr *MockConfigProviderMockRecorder) GetGenesisTime() *gomock.Call

GetGenesisTime indicates an expected call of GetGenesisTime.

func (*MockConfigProviderMockRecorder) SlotDurationSec

func (mr *MockConfigProviderMockRecorder) SlotDurationSec() *gomock.Call

SlotDurationSec indicates an expected call of SlotDurationSec.

type MockSlotTicker

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

MockSlotTicker is a mock of SlotTicker interface.

func NewMockSlotTicker

func NewMockSlotTicker(ctrl *gomock.Controller) *MockSlotTicker

NewMockSlotTicker creates a new mock instance.

func (*MockSlotTicker) EXPECT

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

func (*MockSlotTicker) Next

func (m *MockSlotTicker) Next() <-chan time.Time

Next mocks base method.

func (*MockSlotTicker) Slot

func (m *MockSlotTicker) Slot() phase0.Slot

Slot mocks base method.

type MockSlotTickerMockRecorder

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

MockSlotTickerMockRecorder is the mock recorder for MockSlotTicker.

func (*MockSlotTickerMockRecorder) Next

Next indicates an expected call of Next.

func (*MockSlotTickerMockRecorder) Slot

Slot indicates an expected call of Slot.

Jump to

Keyboard shortcuts

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