You are here

public function CasRouteEnhancerTest::testConstruct in CAS 8

Same name and namespace in other branches
  1. 2.x tests/src/Unit/Routing/CasRouteEnhancerTest.php \Drupal\Tests\cas\Unit\Routing\CasRouteEnhancerTest::testConstruct()

Test the constructor.

@covers ::__construct

File

tests/src/Unit/Routing/CasRouteEnhancerTest.php, line 61

Class

CasRouteEnhancerTest
CasRouteEnhancer unit tests.

Namespace

Drupal\Tests\cas\Unit\Routing

Code

public function testConstruct() {
  $this
    ->assertInstanceOf('\\Drupal\\cas\\Routing\\CasRouteEnhancer', new CasRouteEnhancer($this
    ->getConfigFactoryStub()));
}