mocksidebar

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ItemChangeSubscriber

type ItemChangeSubscriber struct {
	mock.Mock
}

ItemChangeSubscriber is an autogenerated mock type for the ItemChangeSubscriber type

func NewItemChangeSubscriber

func NewItemChangeSubscriber(t interface {
	mock.TestingT
	Cleanup(func())
}) *ItemChangeSubscriber

NewItemChangeSubscriber creates a new instance of ItemChangeSubscriber. 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 (*ItemChangeSubscriber) Execute

func (_m *ItemChangeSubscriber) Execute(tab string, item models.Item) error

Execute provides a mock function with given fields: tab, item

Jump to

Keyboard shortcuts

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