File manager - Edit - /usr/local/prospamfilter/vendor/codeception/codeception/tests/unit/Codeception/Command/MyCustomCommandTest.php
Back
<?php namespace Project\Command; class MyCustomCommandTest extends \PHPUnit_Framework_TestCase { public static function setUpBeforeClass() { require_once \Codeception\Configuration::dataDir() . 'register_command/examples/MyCustomCommand.php'; } public function testHasCodeceptionCustomCommandInterface() { $command = new MyCustomCommand('commandName'); $this->assertInstanceOf('Codeception\CustomCommandInterface', $command); } public function testHasCommandName() { $commandName = MyCustomCommand::getCommandName(); $this->assertEquals('myProject:myCommand', $commandName); } }
| ver. 1.4 |
Github
|
.
| PHP 8.2.30 | Generation time: 0 |
proxy
|
phpinfo
|
Settings