You are here

public function EntityRevisionRouteEnhancerTest::testAppliesWithNoParameters in Entity API 8.0

@covers ::applies

File

tests/src/Unit/RouteEnhancer/EntityRevisionRouteEnhancerTest.php, line 39
Contains \Drupal\Tests\Unit\RouteEnhancer\EntityRevisionRouteEnhancerTest.

Class

EntityRevisionRouteEnhancerTest
@coversDefaultClass \Drupal\entity\RouteEnhancer\EntityRevisionRouteEnhancer @group entity

Namespace

Drupal\Tests\Unit\RouteEnhancer

Code

public function testAppliesWithNoParameters() {
  $route = new Route('/test-path');
  $this
    ->assertFalse($this->routeEnhancer
    ->applies($route));
}