You are here

public function EntityRevisionParamConverterTest::testNonApplyingRoute in Entity API 8.0

@covers ::applies

File

tests/src/Unit/ParamConverter/EntityRevisionParamConverterTest.php, line 59
Contains \Drupal\Tests\entity\Unit\ParamConverter\EntityRevisionParamConverterTest.

Class

EntityRevisionParamConverterTest
@coversDefaultClass \Drupal\entity\ParamConverter\EntityRevisionParamConverter @group entity

Namespace

Drupal\Tests\entity\Unit\ParamConverter

Code

public function testNonApplyingRoute() {
  $route = new Route('/test');
  $this
    ->assertFalse($this->converter
    ->applies([], 'test_revision', $route));
}