mock

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileReaderInterface

type FileReaderInterface struct {
	mock.Mock
}

FileReaderInterface is an autogenerated mock type for the FileReaderInterface type

func NewFileReaderInterface

func NewFileReaderInterface(t mockConstructorTestingTNewFileReaderInterface) *FileReaderInterface

NewFileReaderInterface creates a new instance of FileReaderInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*FileReaderInterface) GetFileName

func (_m *FileReaderInterface) GetFileName() string

GetFileName provides a mock function with given fields:

func (*FileReaderInterface) ReadFile

func (_m *FileReaderInterface) ReadFile() ([]byte, error)

ReadFile provides a mock function with given fields:

Jump to

Keyboard shortcuts

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