github.com/onflow/flow-go@v0.35.7-crescendo-preview.23-atree-inlining/module/mempool/consensus/mock/exec_fork_actor.go (about) 1 // Code generated by mockery v2.21.4. DO NOT EDIT. 2 3 package mock 4 5 import ( 6 flow "github.com/onflow/flow-go/model/flow" 7 mock "github.com/stretchr/testify/mock" 8 ) 9 10 // ExecForkActorMock is an autogenerated mock type for the ExecForkActor type 11 type ExecForkActorMock struct { 12 mock.Mock 13 } 14 15 // OnExecFork provides a mock function with given fields: _a0 16 func (_m *ExecForkActorMock) OnExecFork(_a0 []*flow.IncorporatedResultSeal) { 17 _m.Called(_a0) 18 } 19 20 type mockConstructorTestingTNewExecForkActorMock interface { 21 mock.TestingT 22 Cleanup(func()) 23 } 24 25 // NewExecForkActorMock creates a new instance of ExecForkActorMock. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. 26 func NewExecForkActorMock(t mockConstructorTestingTNewExecForkActorMock) *ExecForkActorMock { 27 mock := &ExecForkActorMock{} 28 mock.Mock.Test(t) 29 30 t.Cleanup(func() { mock.AssertExpectations(t) }) 31 32 return mock 33 }