github.com/onflow/flow-go@v0.33.17/engine/execution/state/mock/finalized_execution_state.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  // FinalizedExecutionState is an autogenerated mock type for the FinalizedExecutionState type
     8  type FinalizedExecutionState struct {
     9  	mock.Mock
    10  }
    11  
    12  // GetHighestFinalizedExecuted provides a mock function with given fields:
    13  func (_m *FinalizedExecutionState) GetHighestFinalizedExecuted() 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  type mockConstructorTestingTNewFinalizedExecutionState interface {
    27  	mock.TestingT
    28  	Cleanup(func())
    29  }
    30  
    31  // NewFinalizedExecutionState creates a new instance of FinalizedExecutionState. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
    32  func NewFinalizedExecutionState(t mockConstructorTestingTNewFinalizedExecutionState) *FinalizedExecutionState {
    33  	mock := &FinalizedExecutionState{}
    34  	mock.Mock.Test(t)
    35  
    36  	t.Cleanup(func() { mock.AssertExpectations(t) })
    37  
    38  	return mock
    39  }