public function ServiceTest::testCount in Purge 8.3
Same name in this branch
- 8.3 tests/src/Kernel/Processor/ServiceTest.php \Drupal\Tests\purge\Kernel\Processor\ServiceTest::testCount()
- 8.3 tests/src/Kernel/TagsHeader/ServiceTest.php \Drupal\Tests\purge\Kernel\TagsHeader\ServiceTest::testCount()
- 8.3 tests/src/Kernel/Queuer/ServiceTest.php \Drupal\Tests\purge\Kernel\Queuer\ServiceTest::testCount()
- 8.3 tests/src/Kernel/DiagnosticCheck/ServiceTest.php \Drupal\Tests\purge\Kernel\DiagnosticCheck\ServiceTest::testCount()
Tests DiagnosticsService::count.
File
- tests/
src/ Kernel/ DiagnosticCheck/ ServiceTest.php, line 121
Class
- ServiceTest
- Tests DiagnosticsService.
Namespace
Drupal\Tests\purge\Kernel\DiagnosticCheckCode
public function testCount() : void {
$this
->initializeService();
$this
->assertTrue($this->service instanceof \Countable);
$this
->assertEquals(12, count($this->service));
}