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 \Drupal\purge\Plugin\Purge\Processor\ProcessorsService::count.
File
- tests/
src/ Kernel/ Processor/ ServiceTest.php, line 38
Class
Namespace
Drupal\Tests\purge\Kernel\ProcessorCode
public function testCount() : void {
$this
->initializeService();
$this
->assertTrue($this->service instanceof \Countable);
$this
->assertEquals(2, count($this->service));
}