function MatcherDumperTest::testCreate

Confirms that the dumper can be instantiated successfuly.

File

drupal/core/modules/system/lib/Drupal/system/Tests/Routing/MatcherDumperTest.php, line 50
Definition of Drupal\system\Tests\Routing\UrlMatcherDumperTest.

Class

MatcherDumperTest
Basic tests for the UrlMatcherDumper.

Namespace

Drupal\system\Tests\Routing

Code

function testCreate() {
  $connection = Database::getConnection();
  $dumper = new MatcherDumper($connection);
  $class_name = 'Drupal\\Core\\Routing\\MatcherDumper';
  $this
    ->assertTrue($dumper instanceof $class_name, 'Dumper created successfully');
}