Documentation

AddConsoleCommandPassTest extends TestCase
in package

Table of Contents

Methods

testProcess()  : mixed
testProcessPrivateServicesWithSameCommand()  : mixed
testProcessThrowAnExceptionIfTheServiceIsAbstract()  : mixed
testProcessThrowAnExceptionIfTheServiceIsNotASubclassOfCommand()  : mixed
visibilityProvider()  : mixed

Methods

testProcess()

public testProcess(mixed $public) : mixed
Parameters
$public : mixed
Tags
dataProvider

visibilityProvider

testProcessThrowAnExceptionIfTheServiceIsAbstract()

public testProcessThrowAnExceptionIfTheServiceIsAbstract() : mixed
Tags
expectedException

\InvalidArgumentException

expectedExceptionMessage

The service "my-command" tagged "console.command" must not be abstract.

testProcessThrowAnExceptionIfTheServiceIsNotASubclassOfCommand()

public testProcessThrowAnExceptionIfTheServiceIsNotASubclassOfCommand() : mixed
Tags
expectedException

\InvalidArgumentException

expectedExceptionMessage

The service "my-command" tagged "console.command" must be a subclass of "Symfony\Component\Console\Command\Command".


        
On this page

Search results