code.vegaprotocol.io/vega@v0.79.0/core/notary/mocks/validator_topology_mock.go (about)

     1  // Code generated by MockGen. DO NOT EDIT.
     2  // Source: code.vegaprotocol.io/vega/core/notary (interfaces: ValidatorTopology)
     3  
     4  // Package mocks is a generated GoMock package.
     5  package mocks
     6  
     7  import (
     8  	reflect "reflect"
     9  
    10  	gomock "github.com/golang/mock/gomock"
    11  )
    12  
    13  // MockValidatorTopology is a mock of ValidatorTopology interface.
    14  type MockValidatorTopology struct {
    15  	ctrl     *gomock.Controller
    16  	recorder *MockValidatorTopologyMockRecorder
    17  }
    18  
    19  // MockValidatorTopologyMockRecorder is the mock recorder for MockValidatorTopology.
    20  type MockValidatorTopologyMockRecorder struct {
    21  	mock *MockValidatorTopology
    22  }
    23  
    24  // NewMockValidatorTopology creates a new mock instance.
    25  func NewMockValidatorTopology(ctrl *gomock.Controller) *MockValidatorTopology {
    26  	mock := &MockValidatorTopology{ctrl: ctrl}
    27  	mock.recorder = &MockValidatorTopologyMockRecorder{mock}
    28  	return mock
    29  }
    30  
    31  // EXPECT returns an object that allows the caller to indicate expected use.
    32  func (m *MockValidatorTopology) EXPECT() *MockValidatorTopologyMockRecorder {
    33  	return m.recorder
    34  }
    35  
    36  // IsTendermintValidator mocks base method.
    37  func (m *MockValidatorTopology) IsTendermintValidator(arg0 string) bool {
    38  	m.ctrl.T.Helper()
    39  	ret := m.ctrl.Call(m, "IsTendermintValidator", arg0)
    40  	ret0, _ := ret[0].(bool)
    41  	return ret0
    42  }
    43  
    44  // IsTendermintValidator indicates an expected call of IsTendermintValidator.
    45  func (mr *MockValidatorTopologyMockRecorder) IsTendermintValidator(arg0 interface{}) *gomock.Call {
    46  	mr.mock.ctrl.T.Helper()
    47  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsTendermintValidator", reflect.TypeOf((*MockValidatorTopology)(nil).IsTendermintValidator), arg0)
    48  }
    49  
    50  // IsValidator mocks base method.
    51  func (m *MockValidatorTopology) IsValidator() bool {
    52  	m.ctrl.T.Helper()
    53  	ret := m.ctrl.Call(m, "IsValidator")
    54  	ret0, _ := ret[0].(bool)
    55  	return ret0
    56  }
    57  
    58  // IsValidator indicates an expected call of IsValidator.
    59  func (mr *MockValidatorTopologyMockRecorder) IsValidator() *gomock.Call {
    60  	mr.mock.ctrl.T.Helper()
    61  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsValidator", reflect.TypeOf((*MockValidatorTopology)(nil).IsValidator))
    62  }
    63  
    64  // IsValidatorVegaPubKey mocks base method.
    65  func (m *MockValidatorTopology) IsValidatorVegaPubKey(arg0 string) bool {
    66  	m.ctrl.T.Helper()
    67  	ret := m.ctrl.Call(m, "IsValidatorVegaPubKey", arg0)
    68  	ret0, _ := ret[0].(bool)
    69  	return ret0
    70  }
    71  
    72  // IsValidatorVegaPubKey indicates an expected call of IsValidatorVegaPubKey.
    73  func (mr *MockValidatorTopologyMockRecorder) IsValidatorVegaPubKey(arg0 interface{}) *gomock.Call {
    74  	mr.mock.ctrl.T.Helper()
    75  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsValidatorVegaPubKey", reflect.TypeOf((*MockValidatorTopology)(nil).IsValidatorVegaPubKey), arg0)
    76  }
    77  
    78  // Len mocks base method.
    79  func (m *MockValidatorTopology) Len() int {
    80  	m.ctrl.T.Helper()
    81  	ret := m.ctrl.Call(m, "Len")
    82  	ret0, _ := ret[0].(int)
    83  	return ret0
    84  }
    85  
    86  // Len indicates an expected call of Len.
    87  func (mr *MockValidatorTopologyMockRecorder) Len() *gomock.Call {
    88  	mr.mock.ctrl.T.Helper()
    89  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Len", reflect.TypeOf((*MockValidatorTopology)(nil).Len))
    90  }
    91  
    92  // SelfVegaPubKey mocks base method.
    93  func (m *MockValidatorTopology) SelfVegaPubKey() string {
    94  	m.ctrl.T.Helper()
    95  	ret := m.ctrl.Call(m, "SelfVegaPubKey")
    96  	ret0, _ := ret[0].(string)
    97  	return ret0
    98  }
    99  
   100  // SelfVegaPubKey indicates an expected call of SelfVegaPubKey.
   101  func (mr *MockValidatorTopologyMockRecorder) SelfVegaPubKey() *gomock.Call {
   102  	mr.mock.ctrl.T.Helper()
   103  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SelfVegaPubKey", reflect.TypeOf((*MockValidatorTopology)(nil).SelfVegaPubKey))
   104  }