mocks

package
v2.0.0-alpha.3 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EntryWriter

type EntryWriter struct {
	mock.Mock
}

EntryWriter is an autogenerated mock type for the EntryWriter type

func NewEntryWriter

func NewEntryWriter(t interface {
	mock.TestingT
	Cleanup(func())
}) *EntryWriter

NewEntryWriter creates a new instance of EntryWriter. 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 (*EntryWriter) Write

func (_m *EntryWriter) Write(source string, destination string) error

Write provides a mock function with given fields: source, destination

Jump to

Keyboard shortcuts

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