mocks

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2022 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 Artisan

type Artisan struct {
	mock.Mock
}

Artisan is an autogenerated mock type for the Artisan type

func NewArtisan

func NewArtisan(t mockConstructorTestingTNewArtisan) *Artisan

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

func (*Artisan) Call

func (_m *Artisan) Call(command string)

Call provides a mock function with given fields: command

func (*Artisan) CallAndExit

func (_m *Artisan) CallAndExit(command string)

CallAndExit provides a mock function with given fields: command

func (*Artisan) Register

func (_m *Artisan) Register(commands []console.Command)

Register provides a mock function with given fields: commands

func (*Artisan) Run

func (_m *Artisan) Run(args []string, exitIfArtisan bool)

Run provides a mock function with given fields: args, exitIfArtisan

Jump to

Keyboard shortcuts

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