public function ParamConverterManagerTest::testGetConverterException in Drupal 10
Same name and namespace in other branches
- 8 core/tests/Drupal/Tests/Core/ParamConverter/ParamConverterManagerTest.php \Drupal\Tests\Core\ParamConverter\ParamConverterManagerTest::testGetConverterException()
- 9 core/tests/Drupal/Tests/Core/ParamConverter/ParamConverterManagerTest.php \Drupal\Tests\Core\ParamConverter\ParamConverterManagerTest::testGetConverterException()
Tests \Drupal\Core\ParamConverter\ParamConverterManager::getConverter().
@covers ::getConverter
File
- core/
tests/ Drupal/ Tests/ Core/ ParamConverter/ ParamConverterManagerTest.php, line 56
Class
- ParamConverterManagerTest
- @coversDefaultClass \Drupal\Core\ParamConverter\ParamConverterManager @group ParamConverter
Namespace
Drupal\Tests\Core\ParamConverterCode
public function testGetConverterException() {
$this
->expectException(\InvalidArgumentException::class);
$this->manager
->getConverter('undefined.converter');
}