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 MockStakingKeeper ¶
type MockStakingKeeper struct {
// contains filtered or unexported fields
}
MockStakingKeeper is a mock of StakingKeeper interface.
func NewMockStakingKeeper ¶
func NewMockStakingKeeper(ctrl *gomock.Controller) *MockStakingKeeper
NewMockStakingKeeper creates a new mock instance.
func (*MockStakingKeeper) EXPECT ¶
func (m *MockStakingKeeper) EXPECT() *MockStakingKeeperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStakingKeeper) GetValidator ¶
func (m *MockStakingKeeper) GetValidator(ctx context.Context, addr types.ValAddress) (types0.Validator, error)
GetValidator mocks base method.
type MockStakingKeeperMockRecorder ¶
type MockStakingKeeperMockRecorder struct {
// contains filtered or unexported fields
}
MockStakingKeeperMockRecorder is the mock recorder for MockStakingKeeper.
func (*MockStakingKeeperMockRecorder) GetValidator ¶
func (mr *MockStakingKeeperMockRecorder) GetValidator(ctx, addr interface{}) *gomock.Call
GetValidator indicates an expected call of GetValidator.
Click to show internal directories.
Click to hide internal directories.