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 ¶
func (m *MockConfigProvider) EXPECT() *MockConfigProviderMockRecorder
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 ¶
func (m *MockSlotTicker) EXPECT() *MockSlotTickerMockRecorder
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.
type MockSlotTickerMockRecorder ¶
type MockSlotTickerMockRecorder struct {
// contains filtered or unexported fields
}
MockSlotTickerMockRecorder is the mock recorder for MockSlotTicker.
func (*MockSlotTickerMockRecorder) Next ¶
func (mr *MockSlotTickerMockRecorder) Next() *gomock.Call
Next indicates an expected call of Next.
func (*MockSlotTickerMockRecorder) Slot ¶
func (mr *MockSlotTickerMockRecorder) Slot() *gomock.Call
Slot indicates an expected call of Slot.