You are here

public function ServiceTest::testIteration in Purge 8.3

Same name in this branch
  1. 8.3 tests/src/Kernel/Processor/ServiceTest.php \Drupal\Tests\purge\Kernel\Processor\ServiceTest::testIteration()
  2. 8.3 tests/src/Kernel/TagsHeader/ServiceTest.php \Drupal\Tests\purge\Kernel\TagsHeader\ServiceTest::testIteration()
  3. 8.3 tests/src/Kernel/Queuer/ServiceTest.php \Drupal\Tests\purge\Kernel\Queuer\ServiceTest::testIteration()
  4. 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\TagsHeader\TagsHeadersService::current

\Drupal\purge\Plugin\Purge\TagsHeader\TagsHeadersService::key

\Drupal\purge\Plugin\Purge\TagsHeader\TagsHeadersService::next

\Drupal\purge\Plugin\Purge\TagsHeader\TagsHeadersService::rewind

\Drupal\purge\Plugin\Purge\TagsHeader\TagsHeadersService::valid

File

tests/src/Kernel/TagsHeader/ServiceTest.php, line 64

Class

ServiceTest
Tests \Drupal\purge\Plugin\Purge\TagsHeader\TagsHeadersService.

Namespace

Drupal\Tests\purge\Kernel\TagsHeader

Code

public function testIteration() : void {
  $this
    ->assertIterator($this->plugins, '\\Drupal\\purge\\Plugin\\Purge\\TagsHeader\\TagsHeaderInterface');
}