github.com/onflow/flow-go@v0.35.7-crescendo-preview.23-atree-inlining/module/mock/sealing_configs_getter.go (about) 1 // Code generated by mockery v2.21.4. DO NOT EDIT. 2 3 package mock 4 5 import mock "github.com/stretchr/testify/mock" 6 7 // SealingConfigsGetter is an autogenerated mock type for the SealingConfigsGetter type 8 type SealingConfigsGetter struct { 9 mock.Mock 10 } 11 12 // ApprovalRequestsThresholdConst provides a mock function with given fields: 13 func (_m *SealingConfigsGetter) ApprovalRequestsThresholdConst() uint64 { 14 ret := _m.Called() 15 16 var r0 uint64 17 if rf, ok := ret.Get(0).(func() uint64); ok { 18 r0 = rf() 19 } else { 20 r0 = ret.Get(0).(uint64) 21 } 22 23 return r0 24 } 25 26 // ChunkAlphaConst provides a mock function with given fields: 27 func (_m *SealingConfigsGetter) ChunkAlphaConst() uint { 28 ret := _m.Called() 29 30 var r0 uint 31 if rf, ok := ret.Get(0).(func() uint); ok { 32 r0 = rf() 33 } else { 34 r0 = ret.Get(0).(uint) 35 } 36 37 return r0 38 } 39 40 // EmergencySealingActiveConst provides a mock function with given fields: 41 func (_m *SealingConfigsGetter) EmergencySealingActiveConst() 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 // RequireApprovalsForSealConstructionDynamicValue provides a mock function with given fields: 55 func (_m *SealingConfigsGetter) RequireApprovalsForSealConstructionDynamicValue() uint { 56 ret := _m.Called() 57 58 var r0 uint 59 if rf, ok := ret.Get(0).(func() uint); ok { 60 r0 = rf() 61 } else { 62 r0 = ret.Get(0).(uint) 63 } 64 65 return r0 66 } 67 68 // RequireApprovalsForSealVerificationConst provides a mock function with given fields: 69 func (_m *SealingConfigsGetter) RequireApprovalsForSealVerificationConst() uint { 70 ret := _m.Called() 71 72 var r0 uint 73 if rf, ok := ret.Get(0).(func() uint); ok { 74 r0 = rf() 75 } else { 76 r0 = ret.Get(0).(uint) 77 } 78 79 return r0 80 } 81 82 type mockConstructorTestingTNewSealingConfigsGetter interface { 83 mock.TestingT 84 Cleanup(func()) 85 } 86 87 // NewSealingConfigsGetter creates a new instance of SealingConfigsGetter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. 88 func NewSealingConfigsGetter(t mockConstructorTestingTNewSealingConfigsGetter) *SealingConfigsGetter { 89 mock := &SealingConfigsGetter{} 90 mock.Mock.Test(t) 91 92 t.Cleanup(func() { mock.AssertExpectations(t) }) 93 94 return mock 95 }