public function ServiceTest::testIteration in Purge 8.3
Same name in this branch
- 8.3 tests/src/Kernel/Processor/ServiceTest.php \Drupal\Tests\purge\Kernel\Processor\ServiceTest::testIteration()
- 8.3 tests/src/Kernel/TagsHeader/ServiceTest.php \Drupal\Tests\purge\Kernel\TagsHeader\ServiceTest::testIteration()
- 8.3 tests/src/Kernel/Queuer/ServiceTest.php \Drupal\Tests\purge\Kernel\Queuer\ServiceTest::testIteration()
- 8.3 tests/src/Kernel/DiagnosticCheck/ServiceTest.php \Drupal\Tests\purge\Kernel\DiagnosticCheck\ServiceTest::testIteration()
Tests the \Iterator implementation.
See also
\Drupal\purge\Plugin\Purge\Processor\ProcessorsService::current
\Drupal\purge\Plugin\Purge\Processor\ProcessorsService::key
\Drupal\purge\Plugin\Purge\Processor\ProcessorsService::next
\Drupal\purge\Plugin\Purge\Processor\ProcessorsService::rewind
\Drupal\purge\Plugin\Purge\Processor\ProcessorsService::valid
File
- tests/
src/ Kernel/ Processor/ ServiceTest.php, line 65
Class
Namespace
Drupal\Tests\purge\Kernel\ProcessorCode
public function testIteration() : void {
$this
->initializeService();
$this
->assertIterator([
'a',
'b',
], '\\Drupal\\purge\\Plugin\\Purge\\Processor\\ProcessorInterface');
}