You are here

public function RenameAdminPathEventSubscriberTest::testGetSubscribedEvents in Rename Admin Paths 8.2

File

tests/src/Unit/EventSubscriber/RenameAdminPathEventSubscriberTest.php, line 17

Class

RenameAdminPathEventSubscriberTest
@group tests

Namespace

Drupal\Tests\rename_admin_paths\Unit\EventSubscriber

Code

public function testGetSubscribedEvents() {
  $events = RenameAdminPathsEventSubscriber::getSubscribedEvents();
  $this
    ->assertInternalType('array', $events);
  $this
    ->assertCount(1, $events);
}