mocks

package
v1.20.1 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2023 License: Apache-2.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 MockPrinter

type MockPrinter struct {
	mock.Mock
}

MockPrinter is an autogenerated mock type for the Printer type

func NewMockPrinter

func NewMockPrinter(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockPrinter

NewMockPrinter creates a new instance of MockPrinter. 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 (*MockPrinter) PrintResource

func (_m *MockPrinter) PrintResource(_a0 model.Printable)

PrintResource provides a mock function with given fields: _a0

func (*MockPrinter) PrintResources

func (_m *MockPrinter) PrintResources(_a0 []model.Printable)

PrintResources provides a mock function with given fields: _a0

Jump to

Keyboard shortcuts

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