github.com/onflow/flow-go@v0.35.7-crescendo-preview.23-atree-inlining/module/mock/sealing_configs_setter.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  // SealingConfigsSetter is an autogenerated mock type for the SealingConfigsSetter type
     8  type SealingConfigsSetter struct {
     9  	mock.Mock
    10  }
    11  
    12  // ApprovalRequestsThresholdConst provides a mock function with given fields:
    13  func (_m *SealingConfigsSetter) 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 *SealingConfigsSetter) 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 *SealingConfigsSetter) 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 *SealingConfigsSetter) 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 *SealingConfigsSetter) 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  // SetRequiredApprovalsForSealingConstruction provides a mock function with given fields: newVal
    83  func (_m *SealingConfigsSetter) SetRequiredApprovalsForSealingConstruction(newVal uint) error {
    84  	ret := _m.Called(newVal)
    85  
    86  	var r0 error
    87  	if rf, ok := ret.Get(0).(func(uint) error); ok {
    88  		r0 = rf(newVal)
    89  	} else {
    90  		r0 = ret.Error(0)
    91  	}
    92  
    93  	return r0
    94  }
    95  
    96  type mockConstructorTestingTNewSealingConfigsSetter interface {
    97  	mock.TestingT
    98  	Cleanup(func())
    99  }
   100  
   101  // NewSealingConfigsSetter creates a new instance of SealingConfigsSetter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
   102  func NewSealingConfigsSetter(t mockConstructorTestingTNewSealingConfigsSetter) *SealingConfigsSetter {
   103  	mock := &SealingConfigsSetter{}
   104  	mock.Mock.Test(t)
   105  
   106  	t.Cleanup(func() { mock.AssertExpectations(t) })
   107  
   108  	return mock
   109  }