You are here

public function UnitTest::testAcsfEventHandlersEmpty in Acquia Cloud Site Factory Connector 8.2

Same name and namespace in other branches
  1. 8 tests/AcsfEventsTest.php \UnitTest::testAcsfEventHandlersEmpty()

Tests that the handlers are initially empty.

File

tests/AcsfEventsTest.php, line 55
Provides PHPUnit tests for the Acsf Events system.

Class

UnitTest

Code

public function testAcsfEventHandlersEmpty() {
  $event = new AcsfEvent(new AcsfEventDispatcher(), new AcsfLog(), 'unit_test', [], []);
  $this
    ->assertEmpty($event
    ->debug());
}