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\Queuer\QueuersService::current
\Drupal\purge\Plugin\Purge\Queuer\QueuersService::key
\Drupal\purge\Plugin\Purge\Queuer\QueuersService::next
\Drupal\purge\Plugin\Purge\Queuer\QueuersService::rewind
\Drupal\purge\Plugin\Purge\Queuer\QueuersService::valid
File
- tests/
src/ Kernel/ Queuer/ ServiceTest.php, line 65
Class
Namespace
Drupal\Tests\purge\Kernel\QueuerCode
public function testIteration() : void {
$this
->initializeService();
$this
->assertIterator([
'a',
'b',
], '\\Drupal\\purge\\Plugin\\Purge\\Queuer\\QueuerInterface');
}