mocks

package
v0.0.0-...-b665e70 Latest Latest
Warning

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

Go to latest
Published: May 21, 2024 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 ActorUpdater

type ActorUpdater struct {
	mock.Mock
}

ActorUpdater is an autogenerated mock type for the ActorUpdater type

func NewActorUpdater

func NewActorUpdater(t interface {
	mock.TestingT
	Cleanup(func())
}) *ActorUpdater

NewActorUpdater creates a new instance of ActorUpdater. 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 (*ActorUpdater) GetActorById

func (_m *ActorUpdater) GetActorById(id int) (*entity.Actor, error)

GetActorById provides a mock function with given fields: id

func (*ActorUpdater) UpdateActor

func (_m *ActorUpdater) UpdateActor(id int, actor *entity.Actor) error

UpdateActor provides a mock function with given fields: id, actor

Jump to

Keyboard shortcuts

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