github.com/prysmaticlabs/prysm@v1.4.4/shared/mock/beacon_validator_server_mock.go (about)

     1  // Code generated by MockGen. DO NOT EDIT.
     2  // Source: github.com/prysmaticlabs/prysm/proto/eth/v1alpha1 (interfaces: BeaconNodeValidatorServer,BeaconNodeValidator_WaitForActivationServer,BeaconNodeValidator_WaitForChainStartServer,BeaconNodeValidator_StreamDutiesServer)
     3  
     4  // Package mock is a generated GoMock package.
     5  package mock
     6  
     7  import (
     8  	context "context"
     9  	reflect "reflect"
    10  
    11  	gomock "github.com/golang/mock/gomock"
    12  	v1alpha1 "github.com/prysmaticlabs/prysm/proto/eth/v1alpha1"
    13  	metadata "google.golang.org/grpc/metadata"
    14  	emptypb "google.golang.org/protobuf/types/known/emptypb"
    15  )
    16  
    17  // MockBeaconNodeValidatorServer is a mock of BeaconNodeValidatorServer interface
    18  type MockBeaconNodeValidatorServer struct {
    19  	ctrl     *gomock.Controller
    20  	recorder *MockBeaconNodeValidatorServerMockRecorder
    21  }
    22  
    23  // MockBeaconNodeValidatorServerMockRecorder is the mock recorder for MockBeaconNodeValidatorServer
    24  type MockBeaconNodeValidatorServerMockRecorder struct {
    25  	mock *MockBeaconNodeValidatorServer
    26  }
    27  
    28  // NewMockBeaconNodeValidatorServer creates a new mock instance
    29  func NewMockBeaconNodeValidatorServer(ctrl *gomock.Controller) *MockBeaconNodeValidatorServer {
    30  	mock := &MockBeaconNodeValidatorServer{ctrl: ctrl}
    31  	mock.recorder = &MockBeaconNodeValidatorServerMockRecorder{mock}
    32  	return mock
    33  }
    34  
    35  // EXPECT returns an object that allows the caller to indicate expected use
    36  func (m *MockBeaconNodeValidatorServer) EXPECT() *MockBeaconNodeValidatorServerMockRecorder {
    37  	return m.recorder
    38  }
    39  
    40  // CheckDoppelGanger mocks base method
    41  func (m *MockBeaconNodeValidatorServer) CheckDoppelGanger(arg0 context.Context, arg1 *v1alpha1.DoppelGangerRequest) (*v1alpha1.DoppelGangerResponse, error) {
    42  	m.ctrl.T.Helper()
    43  	ret := m.ctrl.Call(m, "CheckDoppelGanger", arg0, arg1)
    44  	ret0, _ := ret[0].(*v1alpha1.DoppelGangerResponse)
    45  	ret1, _ := ret[1].(error)
    46  	return ret0, ret1
    47  }
    48  
    49  // CheckDoppelGanger indicates an expected call of CheckDoppelGanger
    50  func (mr *MockBeaconNodeValidatorServerMockRecorder) CheckDoppelGanger(arg0, arg1 interface{}) *gomock.Call {
    51  	mr.mock.ctrl.T.Helper()
    52  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CheckDoppelGanger", reflect.TypeOf((*MockBeaconNodeValidatorServer)(nil).CheckDoppelGanger), arg0, arg1)
    53  }
    54  
    55  // DomainData mocks base method
    56  func (m *MockBeaconNodeValidatorServer) DomainData(arg0 context.Context, arg1 *v1alpha1.DomainRequest) (*v1alpha1.DomainResponse, error) {
    57  	m.ctrl.T.Helper()
    58  	ret := m.ctrl.Call(m, "DomainData", arg0, arg1)
    59  	ret0, _ := ret[0].(*v1alpha1.DomainResponse)
    60  	ret1, _ := ret[1].(error)
    61  	return ret0, ret1
    62  }
    63  
    64  // DomainData indicates an expected call of DomainData
    65  func (mr *MockBeaconNodeValidatorServerMockRecorder) DomainData(arg0, arg1 interface{}) *gomock.Call {
    66  	mr.mock.ctrl.T.Helper()
    67  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DomainData", reflect.TypeOf((*MockBeaconNodeValidatorServer)(nil).DomainData), arg0, arg1)
    68  }
    69  
    70  // GetAttestationData mocks base method
    71  func (m *MockBeaconNodeValidatorServer) GetAttestationData(arg0 context.Context, arg1 *v1alpha1.AttestationDataRequest) (*v1alpha1.AttestationData, error) {
    72  	m.ctrl.T.Helper()
    73  	ret := m.ctrl.Call(m, "GetAttestationData", arg0, arg1)
    74  	ret0, _ := ret[0].(*v1alpha1.AttestationData)
    75  	ret1, _ := ret[1].(error)
    76  	return ret0, ret1
    77  }
    78  
    79  // GetAttestationData indicates an expected call of GetAttestationData
    80  func (mr *MockBeaconNodeValidatorServerMockRecorder) GetAttestationData(arg0, arg1 interface{}) *gomock.Call {
    81  	mr.mock.ctrl.T.Helper()
    82  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetAttestationData", reflect.TypeOf((*MockBeaconNodeValidatorServer)(nil).GetAttestationData), arg0, arg1)
    83  }
    84  
    85  // GetBlock mocks base method
    86  func (m *MockBeaconNodeValidatorServer) GetBlock(arg0 context.Context, arg1 *v1alpha1.BlockRequest) (*v1alpha1.BeaconBlock, error) {
    87  	m.ctrl.T.Helper()
    88  	ret := m.ctrl.Call(m, "GetBlock", arg0, arg1)
    89  	ret0, _ := ret[0].(*v1alpha1.BeaconBlock)
    90  	ret1, _ := ret[1].(error)
    91  	return ret0, ret1
    92  }
    93  
    94  // GetBlock indicates an expected call of GetBlock
    95  func (mr *MockBeaconNodeValidatorServerMockRecorder) GetBlock(arg0, arg1 interface{}) *gomock.Call {
    96  	mr.mock.ctrl.T.Helper()
    97  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetBlock", reflect.TypeOf((*MockBeaconNodeValidatorServer)(nil).GetBlock), arg0, arg1)
    98  }
    99  
   100  // GetDuties mocks base method
   101  func (m *MockBeaconNodeValidatorServer) GetDuties(arg0 context.Context, arg1 *v1alpha1.DutiesRequest) (*v1alpha1.DutiesResponse, error) {
   102  	m.ctrl.T.Helper()
   103  	ret := m.ctrl.Call(m, "GetDuties", arg0, arg1)
   104  	ret0, _ := ret[0].(*v1alpha1.DutiesResponse)
   105  	ret1, _ := ret[1].(error)
   106  	return ret0, ret1
   107  }
   108  
   109  // GetDuties indicates an expected call of GetDuties
   110  func (mr *MockBeaconNodeValidatorServerMockRecorder) GetDuties(arg0, arg1 interface{}) *gomock.Call {
   111  	mr.mock.ctrl.T.Helper()
   112  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetDuties", reflect.TypeOf((*MockBeaconNodeValidatorServer)(nil).GetDuties), arg0, arg1)
   113  }
   114  
   115  // MultipleValidatorStatus mocks base method
   116  func (m *MockBeaconNodeValidatorServer) MultipleValidatorStatus(arg0 context.Context, arg1 *v1alpha1.MultipleValidatorStatusRequest) (*v1alpha1.MultipleValidatorStatusResponse, error) {
   117  	m.ctrl.T.Helper()
   118  	ret := m.ctrl.Call(m, "MultipleValidatorStatus", arg0, arg1)
   119  	ret0, _ := ret[0].(*v1alpha1.MultipleValidatorStatusResponse)
   120  	ret1, _ := ret[1].(error)
   121  	return ret0, ret1
   122  }
   123  
   124  // MultipleValidatorStatus indicates an expected call of MultipleValidatorStatus
   125  func (mr *MockBeaconNodeValidatorServerMockRecorder) MultipleValidatorStatus(arg0, arg1 interface{}) *gomock.Call {
   126  	mr.mock.ctrl.T.Helper()
   127  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MultipleValidatorStatus", reflect.TypeOf((*MockBeaconNodeValidatorServer)(nil).MultipleValidatorStatus), arg0, arg1)
   128  }
   129  
   130  // ProposeAttestation mocks base method
   131  func (m *MockBeaconNodeValidatorServer) ProposeAttestation(arg0 context.Context, arg1 *v1alpha1.Attestation) (*v1alpha1.AttestResponse, error) {
   132  	m.ctrl.T.Helper()
   133  	ret := m.ctrl.Call(m, "ProposeAttestation", arg0, arg1)
   134  	ret0, _ := ret[0].(*v1alpha1.AttestResponse)
   135  	ret1, _ := ret[1].(error)
   136  	return ret0, ret1
   137  }
   138  
   139  // ProposeAttestation indicates an expected call of ProposeAttestation
   140  func (mr *MockBeaconNodeValidatorServerMockRecorder) ProposeAttestation(arg0, arg1 interface{}) *gomock.Call {
   141  	mr.mock.ctrl.T.Helper()
   142  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ProposeAttestation", reflect.TypeOf((*MockBeaconNodeValidatorServer)(nil).ProposeAttestation), arg0, arg1)
   143  }
   144  
   145  // ProposeBlock mocks base method
   146  func (m *MockBeaconNodeValidatorServer) ProposeBlock(arg0 context.Context, arg1 *v1alpha1.SignedBeaconBlock) (*v1alpha1.ProposeResponse, error) {
   147  	m.ctrl.T.Helper()
   148  	ret := m.ctrl.Call(m, "ProposeBlock", arg0, arg1)
   149  	ret0, _ := ret[0].(*v1alpha1.ProposeResponse)
   150  	ret1, _ := ret[1].(error)
   151  	return ret0, ret1
   152  }
   153  
   154  // ProposeBlock indicates an expected call of ProposeBlock
   155  func (mr *MockBeaconNodeValidatorServerMockRecorder) ProposeBlock(arg0, arg1 interface{}) *gomock.Call {
   156  	mr.mock.ctrl.T.Helper()
   157  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ProposeBlock", reflect.TypeOf((*MockBeaconNodeValidatorServer)(nil).ProposeBlock), arg0, arg1)
   158  }
   159  
   160  // ProposeExit mocks base method
   161  func (m *MockBeaconNodeValidatorServer) ProposeExit(arg0 context.Context, arg1 *v1alpha1.SignedVoluntaryExit) (*v1alpha1.ProposeExitResponse, error) {
   162  	m.ctrl.T.Helper()
   163  	ret := m.ctrl.Call(m, "ProposeExit", arg0, arg1)
   164  	ret0, _ := ret[0].(*v1alpha1.ProposeExitResponse)
   165  	ret1, _ := ret[1].(error)
   166  	return ret0, ret1
   167  }
   168  
   169  // ProposeExit indicates an expected call of ProposeExit
   170  func (mr *MockBeaconNodeValidatorServerMockRecorder) ProposeExit(arg0, arg1 interface{}) *gomock.Call {
   171  	mr.mock.ctrl.T.Helper()
   172  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ProposeExit", reflect.TypeOf((*MockBeaconNodeValidatorServer)(nil).ProposeExit), arg0, arg1)
   173  }
   174  
   175  // StreamDuties mocks base method
   176  func (m *MockBeaconNodeValidatorServer) StreamDuties(arg0 *v1alpha1.DutiesRequest, arg1 v1alpha1.BeaconNodeValidator_StreamDutiesServer) error {
   177  	m.ctrl.T.Helper()
   178  	ret := m.ctrl.Call(m, "StreamDuties", arg0, arg1)
   179  	ret0, _ := ret[0].(error)
   180  	return ret0
   181  }
   182  
   183  // StreamDuties indicates an expected call of StreamDuties
   184  func (mr *MockBeaconNodeValidatorServerMockRecorder) StreamDuties(arg0, arg1 interface{}) *gomock.Call {
   185  	mr.mock.ctrl.T.Helper()
   186  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StreamDuties", reflect.TypeOf((*MockBeaconNodeValidatorServer)(nil).StreamDuties), arg0, arg1)
   187  }
   188  
   189  // SubmitAggregateSelectionProof mocks base method
   190  func (m *MockBeaconNodeValidatorServer) SubmitAggregateSelectionProof(arg0 context.Context, arg1 *v1alpha1.AggregateSelectionRequest) (*v1alpha1.AggregateSelectionResponse, error) {
   191  	m.ctrl.T.Helper()
   192  	ret := m.ctrl.Call(m, "SubmitAggregateSelectionProof", arg0, arg1)
   193  	ret0, _ := ret[0].(*v1alpha1.AggregateSelectionResponse)
   194  	ret1, _ := ret[1].(error)
   195  	return ret0, ret1
   196  }
   197  
   198  // SubmitAggregateSelectionProof indicates an expected call of SubmitAggregateSelectionProof
   199  func (mr *MockBeaconNodeValidatorServerMockRecorder) SubmitAggregateSelectionProof(arg0, arg1 interface{}) *gomock.Call {
   200  	mr.mock.ctrl.T.Helper()
   201  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SubmitAggregateSelectionProof", reflect.TypeOf((*MockBeaconNodeValidatorServer)(nil).SubmitAggregateSelectionProof), arg0, arg1)
   202  }
   203  
   204  // SubmitSignedAggregateSelectionProof mocks base method
   205  func (m *MockBeaconNodeValidatorServer) SubmitSignedAggregateSelectionProof(arg0 context.Context, arg1 *v1alpha1.SignedAggregateSubmitRequest) (*v1alpha1.SignedAggregateSubmitResponse, error) {
   206  	m.ctrl.T.Helper()
   207  	ret := m.ctrl.Call(m, "SubmitSignedAggregateSelectionProof", arg0, arg1)
   208  	ret0, _ := ret[0].(*v1alpha1.SignedAggregateSubmitResponse)
   209  	ret1, _ := ret[1].(error)
   210  	return ret0, ret1
   211  }
   212  
   213  // SubmitSignedAggregateSelectionProof indicates an expected call of SubmitSignedAggregateSelectionProof
   214  func (mr *MockBeaconNodeValidatorServerMockRecorder) SubmitSignedAggregateSelectionProof(arg0, arg1 interface{}) *gomock.Call {
   215  	mr.mock.ctrl.T.Helper()
   216  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SubmitSignedAggregateSelectionProof", reflect.TypeOf((*MockBeaconNodeValidatorServer)(nil).SubmitSignedAggregateSelectionProof), arg0, arg1)
   217  }
   218  
   219  // SubscribeCommitteeSubnets mocks base method
   220  func (m *MockBeaconNodeValidatorServer) SubscribeCommitteeSubnets(arg0 context.Context, arg1 *v1alpha1.CommitteeSubnetsSubscribeRequest) (*emptypb.Empty, error) {
   221  	m.ctrl.T.Helper()
   222  	ret := m.ctrl.Call(m, "SubscribeCommitteeSubnets", arg0, arg1)
   223  	ret0, _ := ret[0].(*emptypb.Empty)
   224  	ret1, _ := ret[1].(error)
   225  	return ret0, ret1
   226  }
   227  
   228  // SubscribeCommitteeSubnets indicates an expected call of SubscribeCommitteeSubnets
   229  func (mr *MockBeaconNodeValidatorServerMockRecorder) SubscribeCommitteeSubnets(arg0, arg1 interface{}) *gomock.Call {
   230  	mr.mock.ctrl.T.Helper()
   231  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SubscribeCommitteeSubnets", reflect.TypeOf((*MockBeaconNodeValidatorServer)(nil).SubscribeCommitteeSubnets), arg0, arg1)
   232  }
   233  
   234  // ValidatorIndex mocks base method
   235  func (m *MockBeaconNodeValidatorServer) ValidatorIndex(arg0 context.Context, arg1 *v1alpha1.ValidatorIndexRequest) (*v1alpha1.ValidatorIndexResponse, error) {
   236  	m.ctrl.T.Helper()
   237  	ret := m.ctrl.Call(m, "ValidatorIndex", arg0, arg1)
   238  	ret0, _ := ret[0].(*v1alpha1.ValidatorIndexResponse)
   239  	ret1, _ := ret[1].(error)
   240  	return ret0, ret1
   241  }
   242  
   243  // ValidatorIndex indicates an expected call of ValidatorIndex
   244  func (mr *MockBeaconNodeValidatorServerMockRecorder) ValidatorIndex(arg0, arg1 interface{}) *gomock.Call {
   245  	mr.mock.ctrl.T.Helper()
   246  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ValidatorIndex", reflect.TypeOf((*MockBeaconNodeValidatorServer)(nil).ValidatorIndex), arg0, arg1)
   247  }
   248  
   249  // ValidatorStatus mocks base method
   250  func (m *MockBeaconNodeValidatorServer) ValidatorStatus(arg0 context.Context, arg1 *v1alpha1.ValidatorStatusRequest) (*v1alpha1.ValidatorStatusResponse, error) {
   251  	m.ctrl.T.Helper()
   252  	ret := m.ctrl.Call(m, "ValidatorStatus", arg0, arg1)
   253  	ret0, _ := ret[0].(*v1alpha1.ValidatorStatusResponse)
   254  	ret1, _ := ret[1].(error)
   255  	return ret0, ret1
   256  }
   257  
   258  // ValidatorStatus indicates an expected call of ValidatorStatus
   259  func (mr *MockBeaconNodeValidatorServerMockRecorder) ValidatorStatus(arg0, arg1 interface{}) *gomock.Call {
   260  	mr.mock.ctrl.T.Helper()
   261  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ValidatorStatus", reflect.TypeOf((*MockBeaconNodeValidatorServer)(nil).ValidatorStatus), arg0, arg1)
   262  }
   263  
   264  // WaitForActivation mocks base method
   265  func (m *MockBeaconNodeValidatorServer) WaitForActivation(arg0 *v1alpha1.ValidatorActivationRequest, arg1 v1alpha1.BeaconNodeValidator_WaitForActivationServer) error {
   266  	m.ctrl.T.Helper()
   267  	ret := m.ctrl.Call(m, "WaitForActivation", arg0, arg1)
   268  	ret0, _ := ret[0].(error)
   269  	return ret0
   270  }
   271  
   272  // WaitForActivation indicates an expected call of WaitForActivation
   273  func (mr *MockBeaconNodeValidatorServerMockRecorder) WaitForActivation(arg0, arg1 interface{}) *gomock.Call {
   274  	mr.mock.ctrl.T.Helper()
   275  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WaitForActivation", reflect.TypeOf((*MockBeaconNodeValidatorServer)(nil).WaitForActivation), arg0, arg1)
   276  }
   277  
   278  // WaitForChainStart mocks base method
   279  func (m *MockBeaconNodeValidatorServer) WaitForChainStart(arg0 *emptypb.Empty, arg1 v1alpha1.BeaconNodeValidator_WaitForChainStartServer) error {
   280  	m.ctrl.T.Helper()
   281  	ret := m.ctrl.Call(m, "WaitForChainStart", arg0, arg1)
   282  	ret0, _ := ret[0].(error)
   283  	return ret0
   284  }
   285  
   286  // WaitForChainStart indicates an expected call of WaitForChainStart
   287  func (mr *MockBeaconNodeValidatorServerMockRecorder) WaitForChainStart(arg0, arg1 interface{}) *gomock.Call {
   288  	mr.mock.ctrl.T.Helper()
   289  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WaitForChainStart", reflect.TypeOf((*MockBeaconNodeValidatorServer)(nil).WaitForChainStart), arg0, arg1)
   290  }
   291  
   292  // MockBeaconNodeValidator_WaitForActivationServer is a mock of BeaconNodeValidator_WaitForActivationServer interface
   293  type MockBeaconNodeValidator_WaitForActivationServer struct {
   294  	ctrl     *gomock.Controller
   295  	recorder *MockBeaconNodeValidator_WaitForActivationServerMockRecorder
   296  }
   297  
   298  // MockBeaconNodeValidator_WaitForActivationServerMockRecorder is the mock recorder for MockBeaconNodeValidator_WaitForActivationServer
   299  type MockBeaconNodeValidator_WaitForActivationServerMockRecorder struct {
   300  	mock *MockBeaconNodeValidator_WaitForActivationServer
   301  }
   302  
   303  // NewMockBeaconNodeValidator_WaitForActivationServer creates a new mock instance
   304  func NewMockBeaconNodeValidator_WaitForActivationServer(ctrl *gomock.Controller) *MockBeaconNodeValidator_WaitForActivationServer {
   305  	mock := &MockBeaconNodeValidator_WaitForActivationServer{ctrl: ctrl}
   306  	mock.recorder = &MockBeaconNodeValidator_WaitForActivationServerMockRecorder{mock}
   307  	return mock
   308  }
   309  
   310  // EXPECT returns an object that allows the caller to indicate expected use
   311  func (m *MockBeaconNodeValidator_WaitForActivationServer) EXPECT() *MockBeaconNodeValidator_WaitForActivationServerMockRecorder {
   312  	return m.recorder
   313  }
   314  
   315  // Context mocks base method
   316  func (m *MockBeaconNodeValidator_WaitForActivationServer) Context() context.Context {
   317  	m.ctrl.T.Helper()
   318  	ret := m.ctrl.Call(m, "Context")
   319  	ret0, _ := ret[0].(context.Context)
   320  	return ret0
   321  }
   322  
   323  // Context indicates an expected call of Context
   324  func (mr *MockBeaconNodeValidator_WaitForActivationServerMockRecorder) Context() *gomock.Call {
   325  	mr.mock.ctrl.T.Helper()
   326  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Context", reflect.TypeOf((*MockBeaconNodeValidator_WaitForActivationServer)(nil).Context))
   327  }
   328  
   329  // RecvMsg mocks base method
   330  func (m *MockBeaconNodeValidator_WaitForActivationServer) RecvMsg(arg0 interface{}) error {
   331  	m.ctrl.T.Helper()
   332  	ret := m.ctrl.Call(m, "RecvMsg", arg0)
   333  	ret0, _ := ret[0].(error)
   334  	return ret0
   335  }
   336  
   337  // RecvMsg indicates an expected call of RecvMsg
   338  func (mr *MockBeaconNodeValidator_WaitForActivationServerMockRecorder) RecvMsg(arg0 interface{}) *gomock.Call {
   339  	mr.mock.ctrl.T.Helper()
   340  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RecvMsg", reflect.TypeOf((*MockBeaconNodeValidator_WaitForActivationServer)(nil).RecvMsg), arg0)
   341  }
   342  
   343  // Send mocks base method
   344  func (m *MockBeaconNodeValidator_WaitForActivationServer) Send(arg0 *v1alpha1.ValidatorActivationResponse) error {
   345  	m.ctrl.T.Helper()
   346  	ret := m.ctrl.Call(m, "Send", arg0)
   347  	ret0, _ := ret[0].(error)
   348  	return ret0
   349  }
   350  
   351  // Send indicates an expected call of Send
   352  func (mr *MockBeaconNodeValidator_WaitForActivationServerMockRecorder) Send(arg0 interface{}) *gomock.Call {
   353  	mr.mock.ctrl.T.Helper()
   354  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Send", reflect.TypeOf((*MockBeaconNodeValidator_WaitForActivationServer)(nil).Send), arg0)
   355  }
   356  
   357  // SendHeader mocks base method
   358  func (m *MockBeaconNodeValidator_WaitForActivationServer) SendHeader(arg0 metadata.MD) error {
   359  	m.ctrl.T.Helper()
   360  	ret := m.ctrl.Call(m, "SendHeader", arg0)
   361  	ret0, _ := ret[0].(error)
   362  	return ret0
   363  }
   364  
   365  // SendHeader indicates an expected call of SendHeader
   366  func (mr *MockBeaconNodeValidator_WaitForActivationServerMockRecorder) SendHeader(arg0 interface{}) *gomock.Call {
   367  	mr.mock.ctrl.T.Helper()
   368  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SendHeader", reflect.TypeOf((*MockBeaconNodeValidator_WaitForActivationServer)(nil).SendHeader), arg0)
   369  }
   370  
   371  // SendMsg mocks base method
   372  func (m *MockBeaconNodeValidator_WaitForActivationServer) SendMsg(arg0 interface{}) error {
   373  	m.ctrl.T.Helper()
   374  	ret := m.ctrl.Call(m, "SendMsg", arg0)
   375  	ret0, _ := ret[0].(error)
   376  	return ret0
   377  }
   378  
   379  // SendMsg indicates an expected call of SendMsg
   380  func (mr *MockBeaconNodeValidator_WaitForActivationServerMockRecorder) SendMsg(arg0 interface{}) *gomock.Call {
   381  	mr.mock.ctrl.T.Helper()
   382  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SendMsg", reflect.TypeOf((*MockBeaconNodeValidator_WaitForActivationServer)(nil).SendMsg), arg0)
   383  }
   384  
   385  // SetHeader mocks base method
   386  func (m *MockBeaconNodeValidator_WaitForActivationServer) SetHeader(arg0 metadata.MD) error {
   387  	m.ctrl.T.Helper()
   388  	ret := m.ctrl.Call(m, "SetHeader", arg0)
   389  	ret0, _ := ret[0].(error)
   390  	return ret0
   391  }
   392  
   393  // SetHeader indicates an expected call of SetHeader
   394  func (mr *MockBeaconNodeValidator_WaitForActivationServerMockRecorder) SetHeader(arg0 interface{}) *gomock.Call {
   395  	mr.mock.ctrl.T.Helper()
   396  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetHeader", reflect.TypeOf((*MockBeaconNodeValidator_WaitForActivationServer)(nil).SetHeader), arg0)
   397  }
   398  
   399  // SetTrailer mocks base method
   400  func (m *MockBeaconNodeValidator_WaitForActivationServer) SetTrailer(arg0 metadata.MD) {
   401  	m.ctrl.T.Helper()
   402  	m.ctrl.Call(m, "SetTrailer", arg0)
   403  }
   404  
   405  // SetTrailer indicates an expected call of SetTrailer
   406  func (mr *MockBeaconNodeValidator_WaitForActivationServerMockRecorder) SetTrailer(arg0 interface{}) *gomock.Call {
   407  	mr.mock.ctrl.T.Helper()
   408  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetTrailer", reflect.TypeOf((*MockBeaconNodeValidator_WaitForActivationServer)(nil).SetTrailer), arg0)
   409  }
   410  
   411  // MockBeaconNodeValidator_WaitForChainStartServer is a mock of BeaconNodeValidator_WaitForChainStartServer interface
   412  type MockBeaconNodeValidator_WaitForChainStartServer struct {
   413  	ctrl     *gomock.Controller
   414  	recorder *MockBeaconNodeValidator_WaitForChainStartServerMockRecorder
   415  }
   416  
   417  // MockBeaconNodeValidator_WaitForChainStartServerMockRecorder is the mock recorder for MockBeaconNodeValidator_WaitForChainStartServer
   418  type MockBeaconNodeValidator_WaitForChainStartServerMockRecorder struct {
   419  	mock *MockBeaconNodeValidator_WaitForChainStartServer
   420  }
   421  
   422  // NewMockBeaconNodeValidator_WaitForChainStartServer creates a new mock instance
   423  func NewMockBeaconNodeValidator_WaitForChainStartServer(ctrl *gomock.Controller) *MockBeaconNodeValidator_WaitForChainStartServer {
   424  	mock := &MockBeaconNodeValidator_WaitForChainStartServer{ctrl: ctrl}
   425  	mock.recorder = &MockBeaconNodeValidator_WaitForChainStartServerMockRecorder{mock}
   426  	return mock
   427  }
   428  
   429  // EXPECT returns an object that allows the caller to indicate expected use
   430  func (m *MockBeaconNodeValidator_WaitForChainStartServer) EXPECT() *MockBeaconNodeValidator_WaitForChainStartServerMockRecorder {
   431  	return m.recorder
   432  }
   433  
   434  // Context mocks base method
   435  func (m *MockBeaconNodeValidator_WaitForChainStartServer) Context() context.Context {
   436  	m.ctrl.T.Helper()
   437  	ret := m.ctrl.Call(m, "Context")
   438  	ret0, _ := ret[0].(context.Context)
   439  	return ret0
   440  }
   441  
   442  // Context indicates an expected call of Context
   443  func (mr *MockBeaconNodeValidator_WaitForChainStartServerMockRecorder) Context() *gomock.Call {
   444  	mr.mock.ctrl.T.Helper()
   445  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Context", reflect.TypeOf((*MockBeaconNodeValidator_WaitForChainStartServer)(nil).Context))
   446  }
   447  
   448  // RecvMsg mocks base method
   449  func (m *MockBeaconNodeValidator_WaitForChainStartServer) RecvMsg(arg0 interface{}) error {
   450  	m.ctrl.T.Helper()
   451  	ret := m.ctrl.Call(m, "RecvMsg", arg0)
   452  	ret0, _ := ret[0].(error)
   453  	return ret0
   454  }
   455  
   456  // RecvMsg indicates an expected call of RecvMsg
   457  func (mr *MockBeaconNodeValidator_WaitForChainStartServerMockRecorder) RecvMsg(arg0 interface{}) *gomock.Call {
   458  	mr.mock.ctrl.T.Helper()
   459  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RecvMsg", reflect.TypeOf((*MockBeaconNodeValidator_WaitForChainStartServer)(nil).RecvMsg), arg0)
   460  }
   461  
   462  // Send mocks base method
   463  func (m *MockBeaconNodeValidator_WaitForChainStartServer) Send(arg0 *v1alpha1.ChainStartResponse) error {
   464  	m.ctrl.T.Helper()
   465  	ret := m.ctrl.Call(m, "Send", arg0)
   466  	ret0, _ := ret[0].(error)
   467  	return ret0
   468  }
   469  
   470  // Send indicates an expected call of Send
   471  func (mr *MockBeaconNodeValidator_WaitForChainStartServerMockRecorder) Send(arg0 interface{}) *gomock.Call {
   472  	mr.mock.ctrl.T.Helper()
   473  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Send", reflect.TypeOf((*MockBeaconNodeValidator_WaitForChainStartServer)(nil).Send), arg0)
   474  }
   475  
   476  // SendHeader mocks base method
   477  func (m *MockBeaconNodeValidator_WaitForChainStartServer) SendHeader(arg0 metadata.MD) error {
   478  	m.ctrl.T.Helper()
   479  	ret := m.ctrl.Call(m, "SendHeader", arg0)
   480  	ret0, _ := ret[0].(error)
   481  	return ret0
   482  }
   483  
   484  // SendHeader indicates an expected call of SendHeader
   485  func (mr *MockBeaconNodeValidator_WaitForChainStartServerMockRecorder) SendHeader(arg0 interface{}) *gomock.Call {
   486  	mr.mock.ctrl.T.Helper()
   487  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SendHeader", reflect.TypeOf((*MockBeaconNodeValidator_WaitForChainStartServer)(nil).SendHeader), arg0)
   488  }
   489  
   490  // SendMsg mocks base method
   491  func (m *MockBeaconNodeValidator_WaitForChainStartServer) SendMsg(arg0 interface{}) error {
   492  	m.ctrl.T.Helper()
   493  	ret := m.ctrl.Call(m, "SendMsg", arg0)
   494  	ret0, _ := ret[0].(error)
   495  	return ret0
   496  }
   497  
   498  // SendMsg indicates an expected call of SendMsg
   499  func (mr *MockBeaconNodeValidator_WaitForChainStartServerMockRecorder) SendMsg(arg0 interface{}) *gomock.Call {
   500  	mr.mock.ctrl.T.Helper()
   501  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SendMsg", reflect.TypeOf((*MockBeaconNodeValidator_WaitForChainStartServer)(nil).SendMsg), arg0)
   502  }
   503  
   504  // SetHeader mocks base method
   505  func (m *MockBeaconNodeValidator_WaitForChainStartServer) SetHeader(arg0 metadata.MD) error {
   506  	m.ctrl.T.Helper()
   507  	ret := m.ctrl.Call(m, "SetHeader", arg0)
   508  	ret0, _ := ret[0].(error)
   509  	return ret0
   510  }
   511  
   512  // SetHeader indicates an expected call of SetHeader
   513  func (mr *MockBeaconNodeValidator_WaitForChainStartServerMockRecorder) SetHeader(arg0 interface{}) *gomock.Call {
   514  	mr.mock.ctrl.T.Helper()
   515  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetHeader", reflect.TypeOf((*MockBeaconNodeValidator_WaitForChainStartServer)(nil).SetHeader), arg0)
   516  }
   517  
   518  // SetTrailer mocks base method
   519  func (m *MockBeaconNodeValidator_WaitForChainStartServer) SetTrailer(arg0 metadata.MD) {
   520  	m.ctrl.T.Helper()
   521  	m.ctrl.Call(m, "SetTrailer", arg0)
   522  }
   523  
   524  // SetTrailer indicates an expected call of SetTrailer
   525  func (mr *MockBeaconNodeValidator_WaitForChainStartServerMockRecorder) SetTrailer(arg0 interface{}) *gomock.Call {
   526  	mr.mock.ctrl.T.Helper()
   527  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetTrailer", reflect.TypeOf((*MockBeaconNodeValidator_WaitForChainStartServer)(nil).SetTrailer), arg0)
   528  }
   529  
   530  // MockBeaconNodeValidator_StreamDutiesServer is a mock of BeaconNodeValidator_StreamDutiesServer interface
   531  type MockBeaconNodeValidator_StreamDutiesServer struct {
   532  	ctrl     *gomock.Controller
   533  	recorder *MockBeaconNodeValidator_StreamDutiesServerMockRecorder
   534  }
   535  
   536  // MockBeaconNodeValidator_StreamDutiesServerMockRecorder is the mock recorder for MockBeaconNodeValidator_StreamDutiesServer
   537  type MockBeaconNodeValidator_StreamDutiesServerMockRecorder struct {
   538  	mock *MockBeaconNodeValidator_StreamDutiesServer
   539  }
   540  
   541  // NewMockBeaconNodeValidator_StreamDutiesServer creates a new mock instance
   542  func NewMockBeaconNodeValidator_StreamDutiesServer(ctrl *gomock.Controller) *MockBeaconNodeValidator_StreamDutiesServer {
   543  	mock := &MockBeaconNodeValidator_StreamDutiesServer{ctrl: ctrl}
   544  	mock.recorder = &MockBeaconNodeValidator_StreamDutiesServerMockRecorder{mock}
   545  	return mock
   546  }
   547  
   548  // EXPECT returns an object that allows the caller to indicate expected use
   549  func (m *MockBeaconNodeValidator_StreamDutiesServer) EXPECT() *MockBeaconNodeValidator_StreamDutiesServerMockRecorder {
   550  	return m.recorder
   551  }
   552  
   553  // Context mocks base method
   554  func (m *MockBeaconNodeValidator_StreamDutiesServer) Context() context.Context {
   555  	m.ctrl.T.Helper()
   556  	ret := m.ctrl.Call(m, "Context")
   557  	ret0, _ := ret[0].(context.Context)
   558  	return ret0
   559  }
   560  
   561  // Context indicates an expected call of Context
   562  func (mr *MockBeaconNodeValidator_StreamDutiesServerMockRecorder) Context() *gomock.Call {
   563  	mr.mock.ctrl.T.Helper()
   564  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Context", reflect.TypeOf((*MockBeaconNodeValidator_StreamDutiesServer)(nil).Context))
   565  }
   566  
   567  // RecvMsg mocks base method
   568  func (m *MockBeaconNodeValidator_StreamDutiesServer) RecvMsg(arg0 interface{}) error {
   569  	m.ctrl.T.Helper()
   570  	ret := m.ctrl.Call(m, "RecvMsg", arg0)
   571  	ret0, _ := ret[0].(error)
   572  	return ret0
   573  }
   574  
   575  // RecvMsg indicates an expected call of RecvMsg
   576  func (mr *MockBeaconNodeValidator_StreamDutiesServerMockRecorder) RecvMsg(arg0 interface{}) *gomock.Call {
   577  	mr.mock.ctrl.T.Helper()
   578  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RecvMsg", reflect.TypeOf((*MockBeaconNodeValidator_StreamDutiesServer)(nil).RecvMsg), arg0)
   579  }
   580  
   581  // Send mocks base method
   582  func (m *MockBeaconNodeValidator_StreamDutiesServer) Send(arg0 *v1alpha1.DutiesResponse) error {
   583  	m.ctrl.T.Helper()
   584  	ret := m.ctrl.Call(m, "Send", arg0)
   585  	ret0, _ := ret[0].(error)
   586  	return ret0
   587  }
   588  
   589  // Send indicates an expected call of Send
   590  func (mr *MockBeaconNodeValidator_StreamDutiesServerMockRecorder) Send(arg0 interface{}) *gomock.Call {
   591  	mr.mock.ctrl.T.Helper()
   592  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Send", reflect.TypeOf((*MockBeaconNodeValidator_StreamDutiesServer)(nil).Send), arg0)
   593  }
   594  
   595  // SendHeader mocks base method
   596  func (m *MockBeaconNodeValidator_StreamDutiesServer) SendHeader(arg0 metadata.MD) error {
   597  	m.ctrl.T.Helper()
   598  	ret := m.ctrl.Call(m, "SendHeader", arg0)
   599  	ret0, _ := ret[0].(error)
   600  	return ret0
   601  }
   602  
   603  // SendHeader indicates an expected call of SendHeader
   604  func (mr *MockBeaconNodeValidator_StreamDutiesServerMockRecorder) SendHeader(arg0 interface{}) *gomock.Call {
   605  	mr.mock.ctrl.T.Helper()
   606  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SendHeader", reflect.TypeOf((*MockBeaconNodeValidator_StreamDutiesServer)(nil).SendHeader), arg0)
   607  }
   608  
   609  // SendMsg mocks base method
   610  func (m *MockBeaconNodeValidator_StreamDutiesServer) SendMsg(arg0 interface{}) error {
   611  	m.ctrl.T.Helper()
   612  	ret := m.ctrl.Call(m, "SendMsg", arg0)
   613  	ret0, _ := ret[0].(error)
   614  	return ret0
   615  }
   616  
   617  // SendMsg indicates an expected call of SendMsg
   618  func (mr *MockBeaconNodeValidator_StreamDutiesServerMockRecorder) SendMsg(arg0 interface{}) *gomock.Call {
   619  	mr.mock.ctrl.T.Helper()
   620  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SendMsg", reflect.TypeOf((*MockBeaconNodeValidator_StreamDutiesServer)(nil).SendMsg), arg0)
   621  }
   622  
   623  // SetHeader mocks base method
   624  func (m *MockBeaconNodeValidator_StreamDutiesServer) SetHeader(arg0 metadata.MD) error {
   625  	m.ctrl.T.Helper()
   626  	ret := m.ctrl.Call(m, "SetHeader", arg0)
   627  	ret0, _ := ret[0].(error)
   628  	return ret0
   629  }
   630  
   631  // SetHeader indicates an expected call of SetHeader
   632  func (mr *MockBeaconNodeValidator_StreamDutiesServerMockRecorder) SetHeader(arg0 interface{}) *gomock.Call {
   633  	mr.mock.ctrl.T.Helper()
   634  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetHeader", reflect.TypeOf((*MockBeaconNodeValidator_StreamDutiesServer)(nil).SetHeader), arg0)
   635  }
   636  
   637  // SetTrailer mocks base method
   638  func (m *MockBeaconNodeValidator_StreamDutiesServer) SetTrailer(arg0 metadata.MD) {
   639  	m.ctrl.T.Helper()
   640  	m.ctrl.Call(m, "SetTrailer", arg0)
   641  }
   642  
   643  // SetTrailer indicates an expected call of SetTrailer
   644  func (mr *MockBeaconNodeValidator_StreamDutiesServerMockRecorder) SetTrailer(arg0 interface{}) *gomock.Call {
   645  	mr.mock.ctrl.T.Helper()
   646  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetTrailer", reflect.TypeOf((*MockBeaconNodeValidator_StreamDutiesServer)(nil).SetTrailer), arg0)
   647  }