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.
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 ¶
func (m *MockEpochEngine) EXPECT() *MockEpochEngineMockRecorder
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 MockMarketActivityTracker ¶
type MockMarketActivityTracker struct {
// contains filtered or unexported fields
}
MockMarketActivityTracker is a mock of MarketActivityTracker interface.
func NewMockMarketActivityTracker ¶
func NewMockMarketActivityTracker(ctrl *gomock.Controller) *MockMarketActivityTracker
NewMockMarketActivityTracker creates a new mock instance.
func (*MockMarketActivityTracker) EXPECT ¶
func (m *MockMarketActivityTracker) EXPECT() *MockMarketActivityTrackerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockMarketActivityTracker) NotionalTakerVolumeForParty ¶
func (m *MockMarketActivityTracker) NotionalTakerVolumeForParty(arg0 string) *num.Uint
NotionalTakerVolumeForParty mocks base method.
type MockMarketActivityTrackerMockRecorder ¶
type MockMarketActivityTrackerMockRecorder struct {
// contains filtered or unexported fields
}
MockMarketActivityTrackerMockRecorder is the mock recorder for MockMarketActivityTracker.
func (*MockMarketActivityTrackerMockRecorder) NotionalTakerVolumeForParty ¶
func (mr *MockMarketActivityTrackerMockRecorder) NotionalTakerVolumeForParty(arg0 interface{}) *gomock.Call
NotionalTakerVolumeForParty indicates an expected call of NotionalTakerVolumeForParty.
type MockStakingBalances ¶
type MockStakingBalances struct {
// contains filtered or unexported fields
}
MockStakingBalances is a mock of StakingBalances interface.
func NewMockStakingBalances ¶
func NewMockStakingBalances(ctrl *gomock.Controller) *MockStakingBalances
NewMockStakingBalances creates a new mock instance.
func (*MockStakingBalances) EXPECT ¶
func (m *MockStakingBalances) EXPECT() *MockStakingBalancesMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStakingBalances) GetAvailableBalance ¶
func (m *MockStakingBalances) GetAvailableBalance(arg0 string) (*num.Uint, error)
GetAvailableBalance mocks base method.
type MockStakingBalancesMockRecorder ¶
type MockStakingBalancesMockRecorder struct {
// contains filtered or unexported fields
}
MockStakingBalancesMockRecorder is the mock recorder for MockStakingBalances.
func (*MockStakingBalancesMockRecorder) GetAvailableBalance ¶
func (mr *MockStakingBalancesMockRecorder) GetAvailableBalance(arg0 interface{}) *gomock.Call
GetAvailableBalance indicates an expected call of GetAvailableBalance.
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 ¶
func (m *MockTimeService) EXPECT() *MockTimeServiceMockRecorder
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.