function DevelHookCommandTest::testDiscovery
The command is discovered, so that dr can load it.
File
-
tests/
src/ Kernel/ DevelHookCommandTest.php, line 34
Class
- DevelHookCommandTest
- Tests the devel:hook command.
Namespace
Drupal\Tests\devel\KernelCode
public function testDiscovery() : void {
$this->assertTrue($this->container
->get('console.command_loader')
->has(DevelHookCommand::NAME));
$this->assertTrue($this->container
->get('console.command_loader')
->has('fn-hook'));
}