class DbToolsApplicationTest extends KernelTestBase
{ /**
* Tests that the dump command is correctly registered.
*/
public function testDumpCommandRegistration() { $application =
new DbToolsApplication();
$command =
$application->
find('dump'
);
$this->
assertInstanceOf('\Drupal\Core\Command\DbDumpCommand',
$command);
$this->
assertSame(\Drupal::VERSION,
$application->
getVersion());
} /**
* Tests that the dump command is correctly registered.
*/
public function testImportCommandRegistration() { $application =
new DbToolsApplication();
$command =
$application->
find('import'
);