Documentation ¶
Overview ¶
Package testutil is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockEpochHooks ¶
type MockEpochHooks struct {
// contains filtered or unexported fields
}
MockEpochHooks is a mock of EpochHooks interface.
func NewMockEpochHooks ¶
func NewMockEpochHooks(ctrl *gomock.Controller) *MockEpochHooks
NewMockEpochHooks creates a new mock instance.
func (*MockEpochHooks) AfterEpochEnd ¶
func (m *MockEpochHooks) AfterEpochEnd(ctx types.Context, epochInfo types0.EpochInfo)
AfterEpochEnd mocks base method.
func (*MockEpochHooks) BeforeEpochStart ¶
func (m *MockEpochHooks) BeforeEpochStart(ctx types.Context, epochInfo types0.EpochInfo)
BeforeEpochStart mocks base method.
func (*MockEpochHooks) EXPECT ¶
func (m *MockEpochHooks) EXPECT() *MockEpochHooksMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockEpochHooksMockRecorder ¶
type MockEpochHooksMockRecorder struct {
// contains filtered or unexported fields
}
MockEpochHooksMockRecorder is the mock recorder for MockEpochHooks.
func (*MockEpochHooksMockRecorder) AfterEpochEnd ¶
func (mr *MockEpochHooksMockRecorder) AfterEpochEnd(ctx, epochInfo any) *gomock.Call
AfterEpochEnd indicates an expected call of AfterEpochEnd.
func (*MockEpochHooksMockRecorder) BeforeEpochStart ¶
func (mr *MockEpochHooksMockRecorder) BeforeEpochStart(ctx, epochInfo any) *gomock.Call
BeforeEpochStart indicates an expected call of BeforeEpochStart.
Click to show internal directories.
Click to hide internal directories.