mock

package
v0.38.0-preview.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 23, 2024 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StorageSnapshot

type StorageSnapshot struct {
	mock.Mock
}

StorageSnapshot is an autogenerated mock type for the StorageSnapshot type

func NewStorageSnapshot

func NewStorageSnapshot(t interface {
	mock.TestingT
	Cleanup(func())
}) *StorageSnapshot

NewStorageSnapshot creates a new instance of StorageSnapshot. 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.

func (*StorageSnapshot) Get

func (_m *StorageSnapshot) Get(id flow.RegisterID) ([]byte, error)

Get provides a mock function with given fields: id

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL