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 (opens new window)
# Public Methods
Method | Description |
---|---|
_fixtures() | |
assertObjectIsInstanceOfClassCallback() | Returns a callable that checks whether the passed in object is an instance of the $class param |
consoleCommand() |
# consoleCommand()
View source (opens new window)
Arguments
$command
(string (opens new window))$parameters
(array (opens new window))$ignoreStdOut
(boolean (opens new window))
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. |