// Code generated by MockGen. DO NOT EDIT. // Source: github.com/prysmaticlabs/prysm/proto/beacon/rpc/v1 (interfaces: BeaconServiceClient) package internal import ( context "context" reflect "reflect" types "github.com/gogo/protobuf/types" gomock "github.com/golang/mock/gomock" v1 "github.com/prysmaticlabs/prysm/proto/beacon/p2p/v1" v10 "github.com/prysmaticlabs/prysm/proto/beacon/rpc/v1" grpc "google.golang.org/grpc" ) // MockBeaconServiceClient is a mock of BeaconServiceClient interface type MockBeaconServiceClient struct { ctrl *gomock.Controller recorder *MockBeaconServiceClientMockRecorder } // MockBeaconServiceClientMockRecorder is the mock recorder for MockBeaconServiceClient type MockBeaconServiceClientMockRecorder struct { mock *MockBeaconServiceClient } // NewMockBeaconServiceClient creates a new mock instance func NewMockBeaconServiceClient(ctrl *gomock.Controller) *MockBeaconServiceClient { mock := &MockBeaconServiceClient{ctrl: ctrl} mock.recorder = &MockBeaconServiceClientMockRecorder{mock} return mock } // EXPECT returns an object that allows the caller to indicate expected use func (m *MockBeaconServiceClient) EXPECT() *MockBeaconServiceClientMockRecorder { return m.recorder } // CanonicalHead mocks base method func (m *MockBeaconServiceClient) CanonicalHead(arg0 context.Context, arg1 *types.Empty, arg2 ...grpc.CallOption) (*v1.BeaconBlock, error) { varargs := []interface{}{arg0, arg1} for _, a := range arg2 { varargs = append(varargs, a) } ret := m.ctrl.Call(m, "CanonicalHead", varargs...) ret0, _ := ret[0].(*v1.BeaconBlock) ret1, _ := ret[1].(error) return ret0, ret1 } // CanonicalHead indicates an expected call of CanonicalHead func (mr *MockBeaconServiceClientMockRecorder) CanonicalHead(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call { varargs := append([]interface{}{arg0, arg1}, arg2...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CanonicalHead", reflect.TypeOf((*MockBeaconServiceClient)(nil).CanonicalHead), varargs...) } // LatestAttestation mocks base method func (m *MockBeaconServiceClient) LatestAttestation(arg0 context.Context, arg1 *types.Empty, arg2 ...grpc.CallOption) (v10.BeaconService_LatestAttestationClient, error) { varargs := []interface{}{arg0, arg1} for _, a := range arg2 { varargs = append(varargs, a) } ret := m.ctrl.Call(m, "LatestAttestation", varargs...) ret0, _ := ret[0].(v10.BeaconService_LatestAttestationClient) ret1, _ := ret[1].(error) return ret0, ret1 } // LatestAttestation indicates an expected call of LatestAttestation func (mr *MockBeaconServiceClientMockRecorder) LatestAttestation(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call { varargs := append([]interface{}{arg0, arg1}, arg2...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LatestAttestation", reflect.TypeOf((*MockBeaconServiceClient)(nil).LatestAttestation), varargs...) }