You are here

public function RestIncidentStorageTest::testClearIncidents in Radioactivity 4.0.x

Same name and namespace in other branches
  1. 8.3 tests/src/Unit/RestIncidentStorageTest.php \Drupal\Tests\radioactivity\Unit\RestIncidentStorageTest::testClearIncidents()

@covers ::clearIncidents

File

tests/src/Unit/RestIncidentStorageTest.php, line 132

Class

RestIncidentStorageTest
@coversDefaultClass \Drupal\radioactivity\RestIncidentStorage @group radioactivity

Namespace

Drupal\Tests\radioactivity\Unit

Code

public function testClearIncidents() {
  $this->sut
    ->expects($this
    ->once())
    ->method('clearIncidentStorage');
  $this->sut
    ->clearIncidents();
}