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 TagsHeadersService::count.
File
- tests/
src/ Kernel/ TagsHeader/ ServiceTest.php, line 40
Class
Namespace
Drupal\Tests\purge\Kernel\TagsHeaderCode
public function testCount() : void {
$this
->assertTrue($this->service instanceof \Countable);
$this
->assertEquals(count($this->plugins), count($this->service));
}