ConsoleTest ​
- Type
- Class
- Namespace
- craft\test\console
- Inherits
- craft\test\console\ConsoleTest » craft\test\TestCase »
Codeception\Test\Unit
- Since
- 3.2.0
Class ConsoleTest
Public Methods ​
Method | Description |
---|---|
assertObjectIsInstanceOfClassCallback() | Returns a callback/Closure that checks whether the passed in object is an instance of the $class param |
consoleCommand() |
consoleCommand()
​
Arguments ​
Returns ​
craft\test\console\CommandTest
Throws ​
Protected Methods ​
Method | Description |
---|---|
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. |