You are here

public function SpyEventDispatcher::setExpectedEventCount in Hook Event Dispatcher 8

Set the expected event count.

Parameters

int $count: Event count.

File

tests/src/Unit/Preprocess/Helpers/SpyEventDispatcher.php, line 38

Class

SpyEventDispatcher
Class SpyEventDispatcher.

Namespace

Drupal\Tests\hook_event_dispatcher\Unit\Preprocess\Helpers

Code

public function setExpectedEventCount($count) {
  $this->count = $count;
}