{"modulePath":"github.com/onflow/flow-go","version":"v0.51.2","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package mock\n\n## Types\n\n```go\ntype Downloader struct {\n\tmock.Mock\n}\n```\nDownloader is an autogenerated mock type for the Downloader type\n\n```go\nfunc NewDownloader(t interface {\n\tmock.TestingT\n\tCleanup(func())\n}) *Downloader\n```\nNewDownloader creates a new instance of Downloader. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a \\*testing.T value.\n\n```go\nfunc (_mock *Downloader) Done() \u003c-chan struct{}\n```\nDone provides a mock function for the type Downloader\n\n```go\nfunc (_m *Downloader) EXPECT() *Downloader_Expecter\n```\n\n```go\nfunc (_mock *Downloader) Get(ctx context.Context, rootID flow.Identifier) (*execution_data.BlockExecutionData, error)\n```\nGet provides a mock function for the type Downloader\n\n```go\nfunc (_mock *Downloader) HighestCompleteHeight() uint64\n```\nHighestCompleteHeight provides a mock function for the type Downloader\n\n```go\nfunc (_mock *Downloader) OnBlockProcessed(v uint64)\n```\nOnBlockProcessed provides a mock function for the type Downloader\n\n```go\nfunc (_mock *Downloader) Ready() \u003c-chan struct{}\n```\nReady provides a mock function for the type Downloader\n\n```go\nfunc (_mock *Downloader) SetHeightUpdatesConsumer(heightUpdatesConsumer execution_data.HeightUpdatesConsumer)\n```\nSetHeightUpdatesConsumer provides a mock function for the type Downloader\n\n```go\ntype Downloader_Done_Call struct {\n\t*mock.Call\n}\n```\nDownloader\\_Done\\_Call is a \\*mock.Call that shadows Run/Return methods with type explicit version for method 'Done'\n\n```go\nfunc (_c *Downloader_Done_Call) Return(valCh \u003c-chan struct{}) *Downloader_Done_Call\n```\n\n```go\nfunc (_c *Downloader_Done_Call) Run(run func()) *Downloader_Done_Call\n```\n\n```go\nfunc (_c *Downloader_Done_Call) RunAndReturn(run func() \u003c-chan struct{}) *Downloader_Done_Call\n```\n\n```go\ntype Downloader_Expecter struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (_e *Downloader_Expecter) Done() *Downloader_Done_Call\n```\nDone is a helper method to define mock.On call\n\n```go\nfunc (_e *Downloader_Expecter) Get(ctx interface{}, rootID interface{}) *Downloader_Get_Call\n```\nGet is a helper method to define mock.On call\n\n  - ctx context.Context\n  - rootID flow.Identifier\n\n```go\nfunc (_e *Downloader_Expecter) HighestCompleteHeight() *Downloader_HighestCompleteHeight_Call\n```\nHighestCompleteHeight is a helper method to define mock.On call\n\n```go\nfunc (_e *Downloader_Expecter) OnBlockProcessed(v interface{}) *Downloader_OnBlockProcessed_Call\n```\nOnBlockProcessed is a helper method to define mock.On call\n\n  - v uint64\n\n```go\nfunc (_e *Downloader_Expecter) Ready() *Downloader_Ready_Call\n```\nReady is a helper method to define mock.On call\n\n```go\nfunc (_e *Downloader_Expecter) SetHeightUpdatesConsumer(heightUpdatesConsumer interface{}) *Downloader_SetHeightUpdatesConsumer_Call\n```\nSetHeightUpdatesConsumer is a helper method to define mock.On call\n\n  - heightUpdatesConsumer execution\\_data.HeightUpdatesConsumer\n\n```go\ntype Downloader_Get_Call struct {\n\t*mock.Call\n}\n```\nDownloader\\_Get\\_Call is a \\*mock.Call that shadows Run/Return methods with type explicit version for method 'Get'\n\n```go\nfunc (_c *Downloader_Get_Call) Return(blockExecutionData *execution_data.BlockExecutionData, err error) *Downloader_Get_Call\n```\n\n```go\nfunc (_c *Downloader_Get_Call) Run(run func(ctx context.Context, rootID flow.Identifier)) *Downloader_Get_Call\n```\n\n```go\nfunc (_c *Downloader_Get_Call) RunAndReturn(run func(ctx context.Context, rootID flow.Identifier) (*execution_data.BlockExecutionData, error)) *Downloader_Get_Call\n```\n\n```go\ntype Downloader_HighestCompleteHeight_Call struct {\n\t*mock.Call\n}\n```\nDownloader\\_HighestCompleteHeight\\_Call is a \\*mock.Call that shadows Run/Return methods with type explicit version for method 'HighestCompleteHeight'\n\n```go\nfunc (_c *Downloader_HighestCompleteHeight_Call) Return(v uint64) *Downloader_HighestCompleteHeight_Call\n```\n\n```go\nfunc (_c *Downloader_HighestCompleteHeight_Call) Run(run func()) *Downloader_HighestCompleteHeight_Call\n```\n\n```go\nfunc (_c *Downloader_HighestCompleteHeight_Call) RunAndReturn(run func() uint64) *Downloader_HighestCompleteHeight_Call\n```\n\n```go\ntype Downloader_OnBlockProcessed_Call struct {\n\t*mock.Call\n}\n```\nDownloader\\_OnBlockProcessed\\_Call is a \\*mock.Call that shadows Run/Return methods with type explicit version for method 'OnBlockProcessed'\n\n```go\nfunc (_c *Downloader_OnBlockProcessed_Call) Return() *Downloader_OnBlockProcessed_Call\n```\n\n```go\nfunc (_c *Downloader_OnBlockProcessed_Call) Run(run func(v uint64)) *Downloader_OnBlockProcessed_Call\n```\n\n```go\nfunc (_c *Downloader_OnBlockProcessed_Call) RunAndReturn(run func(v uint64)) *Downloader_OnBlockProcessed_Call\n```\n\n```go\ntype Downloader_Ready_Call struct {\n\t*mock.Call\n}\n```\nDownloader\\_Ready\\_Call is a \\*mock.Call that shadows Run/Return methods with type explicit version for method 'Ready'\n\n```go\nfunc (_c *Downloader_Ready_Call) Return(valCh \u003c-chan struct{}) *Downloader_Ready_Call\n```\n\n```go\nfunc (_c *Downloader_Ready_Call) Run(run func()) *Downloader_Ready_Call\n```\n\n```go\nfunc (_c *Downloader_Ready_Call) RunAndReturn(run func() \u003c-chan struct{}) *Downloader_Ready_Call\n```\n\n```go\ntype Downloader_SetHeightUpdatesConsumer_Call struct {\n\t*mock.Call\n}\n```\nDownloader\\_SetHeightUpdatesConsumer\\_Call is a \\*mock.Call that shadows Run/Return methods with type explicit version for method 'SetHeightUpdatesConsumer'\n\n```go\nfunc (_c *Downloader_SetHeightUpdatesConsumer_Call) Return() *Downloader_SetHeightUpdatesConsumer_Call\n```\n\n```go\nfunc (_c *Downloader_SetHeightUpdatesConsumer_Call) Run(run func(heightUpdatesConsumer execution_data.HeightUpdatesConsumer)) *Downloader_SetHeightUpdatesConsumer_Call\n```\n\n```go\nfunc (_c *Downloader_SetHeightUpdatesConsumer_Call) RunAndReturn(run func(heightUpdatesConsumer execution_data.HeightUpdatesConsumer)) *Downloader_SetHeightUpdatesConsumer_Call\n```\n\n```go\ntype ExecutionDataCache struct {\n\tmock.Mock\n}\n```\nExecutionDataCache is an autogenerated mock type for the ExecutionDataCache type\n\n```go\nfunc NewExecutionDataCache(t interface {\n\tmock.TestingT\n\tCleanup(func())\n}) *ExecutionDataCache\n```\nNewExecutionDataCache creates a new instance of ExecutionDataCache. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a \\*testing.T value.\n\n```go\nfunc (_mock *ExecutionDataCache) ByBlockID(ctx context.Context, blockID flow.Identifier) (*execution_data.BlockExecutionDataEntity, error)\n```\nByBlockID provides a mock function for the type ExecutionDataCache\n\n```go\nfunc (_mock *ExecutionDataCache) ByHeight(ctx context.Context, height uint64) (*execution_data.BlockExecutionDataEntity, error)\n```\nByHeight provides a mock function for the type ExecutionDataCache\n\n```go\nfunc (_mock *ExecutionDataCache) ByID(ctx context.Context, executionDataID flow.Identifier) (*execution_data.BlockExecutionDataEntity, error)\n```\nByID provides a mock function for the type ExecutionDataCache\n\n```go\nfunc (_m *ExecutionDataCache) EXPECT() *ExecutionDataCache_Expecter\n```\n\n```go\nfunc (_mock *ExecutionDataCache) LookupID(blockID flow.Identifier) (flow.Identifier, error)\n```\nLookupID provides a mock function for the type ExecutionDataCache\n\n```go\ntype ExecutionDataCache_ByBlockID_Call struct {\n\t*mock.Call\n}\n```\nExecutionDataCache\\_ByBlockID\\_Call is a \\*mock.Call that shadows Run/Return methods with type explicit version for method 'ByBlockID'\n\n```go\nfunc (_c *ExecutionDataCache_ByBlockID_Call) Return(blockExecutionDataEntity *execution_data.BlockExecutionDataEntity, err error) *ExecutionDataCache_ByBlockID_Call\n```\n\n```go\nfunc (_c *ExecutionDataCache_ByBlockID_Call) Run(run func(ctx context.Context, blockID flow.Identifier)) *ExecutionDataCache_ByBlockID_Call\n```\n\n```go\nfunc (_c *ExecutionDataCache_ByBlockID_Call) RunAndReturn(run func(ctx context.Context, blockID flow.Identifier) (*execution_data.BlockExecutionDataEntity, error)) *ExecutionDataCache_ByBlockID_Call\n```\n\n```go\ntype ExecutionDataCache_ByHeight_Call struct {\n\t*mock.Call\n}\n```\nExecutionDataCache\\_ByHeight\\_Call is a \\*mock.Call that shadows Run/Return methods with type explicit version for method 'ByHeight'\n\n```go\nfunc (_c *ExecutionDataCache_ByHeight_Call) Return(blockExecutionDataEntity *execution_data.BlockExecutionDataEntity, err error) *ExecutionDataCache_ByHeight_Call\n```\n\n```go\nfunc (_c *ExecutionDataCache_ByHeight_Call) Run(run func(ctx context.Context, height uint64)) *ExecutionDataCache_ByHeight_Call\n```\n\n```go\nfunc (_c *ExecutionDataCache_ByHeight_Call) RunAndReturn(run func(ctx context.Context, height uint64) (*execution_data.BlockExecutionDataEntity, error)) *ExecutionDataCache_ByHeight_Call\n```\n\n```go\ntype ExecutionDataCache_ByID_Call struct {\n\t*mock.Call\n}\n```\nExecutionDataCache\\_ByID\\_Call is a \\*mock.Call that shadows Run/Return methods with type explicit version for method 'ByID'\n\n```go\nfunc (_c *ExecutionDataCache_ByID_Call) Return(blockExecutionDataEntity *execution_data.BlockExecutionDataEntity, err error) *ExecutionDataCache_ByID_Call\n```\n\n```go\nfunc (_c *ExecutionDataCache_ByID_Call) Run(run func(ctx context.Context, executionDataID flow.Identifier)) *ExecutionDataCache_ByID_Call\n```\n\n```go\nfunc (_c *ExecutionDataCache_ByID_Call) RunAndReturn(run func(ctx context.Context, executionDataID flow.Identifier) (*execution_data.BlockExecutionDataEntity, error)) *ExecutionDataCache_ByID_Call\n```\n\n```go\ntype ExecutionDataCache_Expecter struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (_e *ExecutionDataCache_Expecter) ByBlockID(ctx interface{}, blockID interface{}) *ExecutionDataCache_ByBlockID_Call\n```\nByBlockID is a helper method to define mock.On call\n\n  - ctx context.Context\n  - blockID flow.Identifier\n\n```go\nfunc (_e *ExecutionDataCache_Expecter) ByHeight(ctx interface{}, height interface{}) *ExecutionDataCache_ByHeight_Call\n```\nByHeight is a helper method to define mock.On call\n\n  - ctx context.Context\n  - height uint64\n\n```go\nfunc (_e *ExecutionDataCache_Expecter) ByID(ctx interface{}, executionDataID interface{}) *ExecutionDataCache_ByID_Call\n```\nByID is a helper method to define mock.On call\n\n  - ctx context.Context\n  - executionDataID flow.Identifier\n\n```go\nfunc (_e *ExecutionDataCache_Expecter) LookupID(blockID interface{}) *ExecutionDataCache_LookupID_Call\n```\nLookupID is a helper method to define mock.On call\n\n  - blockID flow.Identifier\n\n```go\ntype ExecutionDataCache_LookupID_Call struct {\n\t*mock.Call\n}\n```\nExecutionDataCache\\_LookupID\\_Call is a \\*mock.Call that shadows Run/Return methods with type explicit version for method 'LookupID'\n\n```go\nfunc (_c *ExecutionDataCache_LookupID_Call) Return(identifier flow.Identifier, err error) *ExecutionDataCache_LookupID_Call\n```\n\n```go\nfunc (_c *ExecutionDataCache_LookupID_Call) Run(run func(blockID flow.Identifier)) *ExecutionDataCache_LookupID_Call\n```\n\n```go\nfunc (_c *ExecutionDataCache_LookupID_Call) RunAndReturn(run func(blockID flow.Identifier) (flow.Identifier, error)) *ExecutionDataCache_LookupID_Call\n```\n\n```go\ntype ExecutionDataGetter struct {\n\tmock.Mock\n}\n```\nExecutionDataGetter is an autogenerated mock type for the ExecutionDataGetter type\n\n```go\nfunc NewExecutionDataGetter(t interface {\n\tmock.TestingT\n\tCleanup(func())\n}) *ExecutionDataGetter\n```\nNewExecutionDataGetter creates a new instance of ExecutionDataGetter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a \\*testing.T value.\n\n```go\nfunc (_m *ExecutionDataGetter) EXPECT() *ExecutionDataGetter_Expecter\n```\n\n```go\nfunc (_mock *ExecutionDataGetter) Get(ctx context.Context, rootID flow.Identifier) (*execution_data.BlockExecutionData, error)\n```\nGet provides a mock function for the type ExecutionDataGetter\n\n```go\ntype ExecutionDataGetter_Expecter struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (_e *ExecutionDataGetter_Expecter) Get(ctx interface{}, rootID interface{}) *ExecutionDataGetter_Get_Call\n```\nGet is a helper method to define mock.On call\n\n  - ctx context.Context\n  - rootID flow.Identifier\n\n```go\ntype ExecutionDataGetter_Get_Call struct {\n\t*mock.Call\n}\n```\nExecutionDataGetter\\_Get\\_Call is a \\*mock.Call that shadows Run/Return methods with type explicit version for method 'Get'\n\n```go\nfunc (_c *ExecutionDataGetter_Get_Call) Return(blockExecutionData *execution_data.BlockExecutionData, err error) *ExecutionDataGetter_Get_Call\n```\n\n```go\nfunc (_c *ExecutionDataGetter_Get_Call) Run(run func(ctx context.Context, rootID flow.Identifier)) *ExecutionDataGetter_Get_Call\n```\n\n```go\nfunc (_c *ExecutionDataGetter_Get_Call) RunAndReturn(run func(ctx context.Context, rootID flow.Identifier) (*execution_data.BlockExecutionData, error)) *ExecutionDataGetter_Get_Call\n```\n\n```go\ntype ExecutionDataStore struct {\n\tmock.Mock\n}\n```\nExecutionDataStore is an autogenerated mock type for the ExecutionDataStore type\n\n```go\nfunc NewExecutionDataStore(t interface {\n\tmock.TestingT\n\tCleanup(func())\n}) *ExecutionDataStore\n```\nNewExecutionDataStore creates a new instance of ExecutionDataStore. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a \\*testing.T value.\n\n```go\nfunc (_mock *ExecutionDataStore) Add(ctx context.Context, executionData *execution_data.BlockExecutionData) (flow.Identifier, error)\n```\nAdd provides a mock function for the type ExecutionDataStore\n\n```go\nfunc (_m *ExecutionDataStore) EXPECT() *ExecutionDataStore_Expecter\n```\n\n```go\nfunc (_mock *ExecutionDataStore) Get(ctx context.Context, rootID flow.Identifier) (*execution_data.BlockExecutionData, error)\n```\nGet provides a mock function for the type ExecutionDataStore\n\n```go\ntype ExecutionDataStore_Add_Call struct {\n\t*mock.Call\n}\n```\nExecutionDataStore\\_Add\\_Call is a \\*mock.Call that shadows Run/Return methods with type explicit version for method 'Add'\n\n```go\nfunc (_c *ExecutionDataStore_Add_Call) Return(identifier flow.Identifier, err error) *ExecutionDataStore_Add_Call\n```\n\n```go\nfunc (_c *ExecutionDataStore_Add_Call) Run(run func(ctx context.Context, executionData *execution_data.BlockExecutionData)) *ExecutionDataStore_Add_Call\n```\n\n```go\nfunc (_c *ExecutionDataStore_Add_Call) RunAndReturn(run func(ctx context.Context, executionData *execution_data.BlockExecutionData) (flow.Identifier, error)) *ExecutionDataStore_Add_Call\n```\n\n```go\ntype ExecutionDataStore_Expecter struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (_e *ExecutionDataStore_Expecter) Add(ctx interface{}, executionData interface{}) *ExecutionDataStore_Add_Call\n```\nAdd is a helper method to define mock.On call\n\n  - ctx context.Context\n  - executionData \\*execution\\_data.BlockExecutionData\n\n```go\nfunc (_e *ExecutionDataStore_Expecter) Get(ctx interface{}, rootID interface{}) *ExecutionDataStore_Get_Call\n```\nGet is a helper method to define mock.On call\n\n  - ctx context.Context\n  - rootID flow.Identifier\n\n```go\ntype ExecutionDataStore_Get_Call struct {\n\t*mock.Call\n}\n```\nExecutionDataStore\\_Get\\_Call is a \\*mock.Call that shadows Run/Return methods with type explicit version for method 'Get'\n\n```go\nfunc (_c *ExecutionDataStore_Get_Call) Return(blockExecutionData *execution_data.BlockExecutionData, err error) *ExecutionDataStore_Get_Call\n```\n\n```go\nfunc (_c *ExecutionDataStore_Get_Call) Run(run func(ctx context.Context, rootID flow.Identifier)) *ExecutionDataStore_Get_Call\n```\n\n```go\nfunc (_c *ExecutionDataStore_Get_Call) RunAndReturn(run func(ctx context.Context, rootID flow.Identifier) (*execution_data.BlockExecutionData, error)) *ExecutionDataStore_Get_Call\n```\n\n```go\ntype ProcessedHeightRecorder struct {\n\tmock.Mock\n}\n```\nProcessedHeightRecorder is an autogenerated mock type for the ProcessedHeightRecorder type\n\n```go\nfunc NewProcessedHeightRecorder(t interface {\n\tmock.TestingT\n\tCleanup(func())\n}) *ProcessedHeightRecorder\n```\nNewProcessedHeightRecorder creates a new instance of ProcessedHeightRecorder. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a \\*testing.T value.\n\n```go\nfunc (_m *ProcessedHeightRecorder) EXPECT() *ProcessedHeightRecorder_Expecter\n```\n\n```go\nfunc (_mock *ProcessedHeightRecorder) HighestCompleteHeight() uint64\n```\nHighestCompleteHeight provides a mock function for the type ProcessedHeightRecorder\n\n```go\nfunc (_mock *ProcessedHeightRecorder) OnBlockProcessed(v uint64)\n```\nOnBlockProcessed provides a mock function for the type ProcessedHeightRecorder\n\n```go\nfunc (_mock *ProcessedHeightRecorder) SetHeightUpdatesConsumer(heightUpdatesConsumer execution_data.HeightUpdatesConsumer)\n```\nSetHeightUpdatesConsumer provides a mock function for the type ProcessedHeightRecorder\n\n```go\ntype ProcessedHeightRecorder_Expecter struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (_e *ProcessedHeightRecorder_Expecter) HighestCompleteHeight() *ProcessedHeightRecorder_HighestCompleteHeight_Call\n```\nHighestCompleteHeight is a helper method to define mock.On call\n\n```go\nfunc (_e *ProcessedHeightRecorder_Expecter) OnBlockProcessed(v interface{}) *ProcessedHeightRecorder_OnBlockProcessed_Call\n```\nOnBlockProcessed is a helper method to define mock.On call\n\n  - v uint64\n\n```go\nfunc (_e *ProcessedHeightRecorder_Expecter) SetHeightUpdatesConsumer(heightUpdatesConsumer interface{}) *ProcessedHeightRecorder_SetHeightUpdatesConsumer_Call\n```\nSetHeightUpdatesConsumer is a helper method to define mock.On call\n\n  - heightUpdatesConsumer execution\\_data.HeightUpdatesConsumer\n\n```go\ntype ProcessedHeightRecorder_HighestCompleteHeight_Call struct {\n\t*mock.Call\n}\n```\nProcessedHeightRecorder\\_HighestCompleteHeight\\_Call is a \\*mock.Call that shadows Run/Return methods with type explicit version for method 'HighestCompleteHeight'\n\n```go\nfunc (_c *ProcessedHeightRecorder_HighestCompleteHeight_Call) Return(v uint64) *ProcessedHeightRecorder_HighestCompleteHeight_Call\n```\n\n```go\nfunc (_c *ProcessedHeightRecorder_HighestCompleteHeight_Call) Run(run func()) *ProcessedHeightRecorder_HighestCompleteHeight_Call\n```\n\n```go\nfunc (_c *ProcessedHeightRecorder_HighestCompleteHeight_Call) RunAndReturn(run func() uint64) *ProcessedHeightRecorder_HighestCompleteHeight_Call\n```\n\n```go\ntype ProcessedHeightRecorder_OnBlockProcessed_Call struct {\n\t*mock.Call\n}\n```\nProcessedHeightRecorder\\_OnBlockProcessed\\_Call is a \\*mock.Call that shadows Run/Return methods with type explicit version for method 'OnBlockProcessed'\n\n```go\nfunc (_c *ProcessedHeightRecorder_OnBlockProcessed_Call) Return() *ProcessedHeightRecorder_OnBlockProcessed_Call\n```\n\n```go\nfunc (_c *ProcessedHeightRecorder_OnBlockProcessed_Call) Run(run func(v uint64)) *ProcessedHeightRecorder_OnBlockProcessed_Call\n```\n\n```go\nfunc (_c *ProcessedHeightRecorder_OnBlockProcessed_Call) RunAndReturn(run func(v uint64)) *ProcessedHeightRecorder_OnBlockProcessed_Call\n```\n\n```go\ntype ProcessedHeightRecorder_SetHeightUpdatesConsumer_Call struct {\n\t*mock.Call\n}\n```\nProcessedHeightRecorder\\_SetHeightUpdatesConsumer\\_Call is a \\*mock.Call that shadows Run/Return methods with type explicit version for method 'SetHeightUpdatesConsumer'\n\n```go\nfunc (_c *ProcessedHeightRecorder_SetHeightUpdatesConsumer_Call) Return() *ProcessedHeightRecorder_SetHeightUpdatesConsumer_Call\n```\n\n```go\nfunc (_c *ProcessedHeightRecorder_SetHeightUpdatesConsumer_Call) Run(run func(heightUpdatesConsumer execution_data.HeightUpdatesConsumer)) *ProcessedHeightRecorder_SetHeightUpdatesConsumer_Call\n```\n\n```go\nfunc (_c *ProcessedHeightRecorder_SetHeightUpdatesConsumer_Call) RunAndReturn(run func(heightUpdatesConsumer execution_data.HeightUpdatesConsumer)) *ProcessedHeightRecorder_SetHeightUpdatesConsumer_Call\n```\n\n```go\ntype Serializer struct {\n\tmock.Mock\n}\n```\nSerializer is an autogenerated mock type for the Serializer type\n\n```go\nfunc NewSerializer(t interface {\n\tmock.TestingT\n\tCleanup(func())\n}) *Serializer\n```\nNewSerializer creates a new instance of Serializer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a \\*testing.T value.\n\n```go\nfunc (_mock *Serializer) Deserialize(reader io.Reader) (any, error)\n```\nDeserialize provides a mock function for the type Serializer\n\n```go\nfunc (_m *Serializer) EXPECT() *Serializer_Expecter\n```\n\n```go\nfunc (_mock *Serializer) Serialize(writer io.Writer, v any) error\n```\nSerialize provides a mock function for the type Serializer\n\n```go\ntype Serializer_Deserialize_Call struct {\n\t*mock.Call\n}\n```\nSerializer\\_Deserialize\\_Call is a \\*mock.Call that shadows Run/Return methods with type explicit version for method 'Deserialize'\n\n```go\nfunc (_c *Serializer_Deserialize_Call) Return(v any, err error) *Serializer_Deserialize_Call\n```\n\n```go\nfunc (_c *Serializer_Deserialize_Call) Run(run func(reader io.Reader)) *Serializer_Deserialize_Call\n```\n\n```go\nfunc (_c *Serializer_Deserialize_Call) RunAndReturn(run func(reader io.Reader) (any, error)) *Serializer_Deserialize_Call\n```\n\n```go\ntype Serializer_Expecter struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (_e *Serializer_Expecter) Deserialize(reader interface{}) *Serializer_Deserialize_Call\n```\nDeserialize is a helper method to define mock.On call\n\n  - reader io.Reader\n\n```go\nfunc (_e *Serializer_Expecter) Serialize(writer interface{}, v interface{}) *Serializer_Serialize_Call\n```\nSerialize is a helper method to define mock.On call\n\n  - writer io.Writer\n  - v any\n\n```go\ntype Serializer_Serialize_Call struct {\n\t*mock.Call\n}\n```\nSerializer\\_Serialize\\_Call is a \\*mock.Call that shadows Run/Return methods with type explicit version for method 'Serialize'\n\n```go\nfunc (_c *Serializer_Serialize_Call) Return(err error) *Serializer_Serialize_Call\n```\n\n```go\nfunc (_c *Serializer_Serialize_Call) Run(run func(writer io.Writer, v any)) *Serializer_Serialize_Call\n```\n\n```go\nfunc (_c *Serializer_Serialize_Call) RunAndReturn(run func(writer io.Writer, v any) error) *Serializer_Serialize_Call\n```\n\n","path":"github.com/onflow/flow-go/module/executiondatasync/execution_data/mock","name":"mock","synopsis":"","isRedistributable":true}
