Skip to content

ConsoleTest ​

Type
Class
Namespace
craft\test\console
Inherits
craft\test\console\ConsoleTest » craft\test\TestCase » Codeception\Test\Unit
Since
3.2.0

Class ConsoleTest

View source

Public Methods ​

MethodDescription
assertObjectIsInstanceOfClassCallback()Returns a callback/Closure that checks whether the passed in object is an instance of the $class param
consoleCommand()

consoleCommand() ​

View source

Arguments ​

Returns ​

craft\test\console\CommandTest

Throws ​

Protected Methods ​

MethodDescription
getInaccessibleProperty()Gets an inaccessible object property.
invokeMethod()Invokes an inaccessible method on an object
invokeStaticMethod()Invokes an inaccessible static method on a class
setInaccessibleProperty()Sets an inaccessible object property to a designated value.