github.com/Hnampk/fabric@v2.1.1+incompatible/gossip/privdata/mocks/app_capabilities.go (about) 1 // Code generated by mockery v1.0.0. DO NOT EDIT. 2 3 package mocks 4 5 import mock "github.com/stretchr/testify/mock" 6 7 // AppCapabilities is an autogenerated mock type for the AppCapabilities type 8 type AppCapabilities struct { 9 mock.Mock 10 } 11 12 // ACLs provides a mock function with given fields: 13 func (_m *AppCapabilities) ACLs() bool { 14 ret := _m.Called() 15 16 var r0 bool 17 if rf, ok := ret.Get(0).(func() bool); ok { 18 r0 = rf() 19 } else { 20 r0 = ret.Get(0).(bool) 21 } 22 23 return r0 24 } 25 26 // CollectionUpgrade provides a mock function with given fields: 27 func (_m *AppCapabilities) CollectionUpgrade() bool { 28 ret := _m.Called() 29 30 var r0 bool 31 if rf, ok := ret.Get(0).(func() bool); ok { 32 r0 = rf() 33 } else { 34 r0 = ret.Get(0).(bool) 35 } 36 37 return r0 38 } 39 40 // ForbidDuplicateTXIdInBlock provides a mock function with given fields: 41 func (_m *AppCapabilities) ForbidDuplicateTXIdInBlock() bool { 42 ret := _m.Called() 43 44 var r0 bool 45 if rf, ok := ret.Get(0).(func() bool); ok { 46 r0 = rf() 47 } else { 48 r0 = ret.Get(0).(bool) 49 } 50 51 return r0 52 } 53 54 // KeyLevelEndorsement provides a mock function with given fields: 55 func (_m *AppCapabilities) KeyLevelEndorsement() bool { 56 ret := _m.Called() 57 58 var r0 bool 59 if rf, ok := ret.Get(0).(func() bool); ok { 60 r0 = rf() 61 } else { 62 r0 = ret.Get(0).(bool) 63 } 64 65 return r0 66 } 67 68 // LifecycleV20 provides a mock function with given fields: 69 func (_m *AppCapabilities) LifecycleV20() bool { 70 ret := _m.Called() 71 72 var r0 bool 73 if rf, ok := ret.Get(0).(func() bool); ok { 74 r0 = rf() 75 } else { 76 r0 = ret.Get(0).(bool) 77 } 78 79 return r0 80 } 81 82 // MetadataLifecycle provides a mock function with given fields: 83 func (_m *AppCapabilities) MetadataLifecycle() bool { 84 ret := _m.Called() 85 86 var r0 bool 87 if rf, ok := ret.Get(0).(func() bool); ok { 88 r0 = rf() 89 } else { 90 r0 = ret.Get(0).(bool) 91 } 92 93 return r0 94 } 95 96 // PrivateChannelData provides a mock function with given fields: 97 func (_m *AppCapabilities) PrivateChannelData() bool { 98 ret := _m.Called() 99 100 var r0 bool 101 if rf, ok := ret.Get(0).(func() bool); ok { 102 r0 = rf() 103 } else { 104 r0 = ret.Get(0).(bool) 105 } 106 107 return r0 108 } 109 110 // StorePvtDataOfInvalidTx provides a mock function with given fields: 111 func (_m *AppCapabilities) StorePvtDataOfInvalidTx() bool { 112 ret := _m.Called() 113 114 var r0 bool 115 if rf, ok := ret.Get(0).(func() bool); ok { 116 r0 = rf() 117 } else { 118 r0 = ret.Get(0).(bool) 119 } 120 121 return r0 122 } 123 124 // Supported provides a mock function with given fields: 125 func (_m *AppCapabilities) Supported() error { 126 ret := _m.Called() 127 128 var r0 error 129 if rf, ok := ret.Get(0).(func() error); ok { 130 r0 = rf() 131 } else { 132 r0 = ret.Error(0) 133 } 134 135 return r0 136 } 137 138 // V1_1Validation provides a mock function with given fields: 139 func (_m *AppCapabilities) V1_1Validation() bool { 140 ret := _m.Called() 141 142 var r0 bool 143 if rf, ok := ret.Get(0).(func() bool); ok { 144 r0 = rf() 145 } else { 146 r0 = ret.Get(0).(bool) 147 } 148 149 return r0 150 } 151 152 // V1_2Validation provides a mock function with given fields: 153 func (_m *AppCapabilities) V1_2Validation() bool { 154 ret := _m.Called() 155 156 var r0 bool 157 if rf, ok := ret.Get(0).(func() bool); ok { 158 r0 = rf() 159 } else { 160 r0 = ret.Get(0).(bool) 161 } 162 163 return r0 164 } 165 166 // V1_3Validation provides a mock function with given fields: 167 func (_m *AppCapabilities) V1_3Validation() bool { 168 ret := _m.Called() 169 170 var r0 bool 171 if rf, ok := ret.Get(0).(func() bool); ok { 172 r0 = rf() 173 } else { 174 r0 = ret.Get(0).(bool) 175 } 176 177 return r0 178 } 179 180 // V2_0Validation provides a mock function with given fields: 181 func (_m *AppCapabilities) V2_0Validation() bool { 182 ret := _m.Called() 183 184 var r0 bool 185 if rf, ok := ret.Get(0).(func() bool); ok { 186 r0 = rf() 187 } else { 188 r0 = ret.Get(0).(bool) 189 } 190 191 return r0 192 }