mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-08 18:51:19 +00:00
4ff91bebf8
* Update gomock * Update mockgen * Gaz * Go mod * Cleanup * Regenerate gomock * Manually fix import
57 lines
1.7 KiB
Go
Generated
57 lines
1.7 KiB
Go
Generated
// Code generated by MockGen. DO NOT EDIT.
|
|
// Source: validator/client/beacon-api/genesis.go
|
|
//
|
|
// Generated by this command:
|
|
//
|
|
// mockgen -package=mock -source=validator/client/beacon-api/genesis.go -destination=validator/client/beacon-api/mock/genesis_mock.go
|
|
//
|
|
|
|
// Package mock is a generated GoMock package.
|
|
package mock
|
|
|
|
import (
|
|
context "context"
|
|
reflect "reflect"
|
|
|
|
structs "github.com/prysmaticlabs/prysm/v5/api/server/structs"
|
|
gomock "go.uber.org/mock/gomock"
|
|
)
|
|
|
|
// MockGenesisProvider is a mock of GenesisProvider interface.
|
|
type MockGenesisProvider struct {
|
|
ctrl *gomock.Controller
|
|
recorder *MockGenesisProviderMockRecorder
|
|
}
|
|
|
|
// MockGenesisProviderMockRecorder is the mock recorder for MockGenesisProvider.
|
|
type MockGenesisProviderMockRecorder struct {
|
|
mock *MockGenesisProvider
|
|
}
|
|
|
|
// NewMockGenesisProvider creates a new mock instance.
|
|
func NewMockGenesisProvider(ctrl *gomock.Controller) *MockGenesisProvider {
|
|
mock := &MockGenesisProvider{ctrl: ctrl}
|
|
mock.recorder = &MockGenesisProviderMockRecorder{mock}
|
|
return mock
|
|
}
|
|
|
|
// EXPECT returns an object that allows the caller to indicate expected use.
|
|
func (m *MockGenesisProvider) EXPECT() *MockGenesisProviderMockRecorder {
|
|
return m.recorder
|
|
}
|
|
|
|
// GetGenesis mocks base method.
|
|
func (m *MockGenesisProvider) GetGenesis(ctx context.Context) (*structs.Genesis, error) {
|
|
m.ctrl.T.Helper()
|
|
ret := m.ctrl.Call(m, "GetGenesis", ctx)
|
|
ret0, _ := ret[0].(*structs.Genesis)
|
|
ret1, _ := ret[1].(error)
|
|
return ret0, ret1
|
|
}
|
|
|
|
// GetGenesis indicates an expected call of GetGenesis.
|
|
func (mr *MockGenesisProviderMockRecorder) GetGenesis(ctx any) *gomock.Call {
|
|
mr.mock.ctrl.T.Helper()
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetGenesis", reflect.TypeOf((*MockGenesisProvider)(nil).GetGenesis), ctx)
|
|
}
|