You are here

public function ParamConverterManagerTest::testGetConverterException in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/tests/Drupal/Tests/Core/ParamConverter/ParamConverterManagerTest.php \Drupal\Tests\Core\ParamConverter\ParamConverterManagerTest::testGetConverterException()

Tests \Drupal\Core\ParamConverter\ParamConverterManager::getConverter().

@covers ::getConverter

@expectedException \InvalidArgumentException

File

core/tests/Drupal/Tests/Core/ParamConverter/ParamConverterManagerTest.php, line 62
Contains \Drupal\Tests\Core\ParamConverter\ParamConverterManagerTest.

Class

ParamConverterManagerTest
@coversDefaultClass \Drupal\Core\ParamConverter\ParamConverterManager @group ParamConverter

Namespace

Drupal\Tests\Core\ParamConverter

Code

public function testGetConverterException() {
  $this->manager
    ->getConverter('undefined.converter');
}