You are here

public function SchemaMetatagManagerTest::testExplode in Schema.org Metatag 8

Same name and namespace in other branches
  1. 8.2 tests/src/Unit/SchemaMetatagManagerTest.php \Drupal\Tests\schema_metatag\Unit\SchemaMetatagManagerTest::testExplode()

@covers ::explode @dataProvider stringData

File

tests/src/Unit/SchemaMetatagManagerTest.php, line 29

Class

SchemaMetatagManagerTest
@coversDefaultClass \Drupal\schema_metatag\SchemaMetatagManager

Namespace

Drupal\Tests\schema_metatag\Unit

Code

public function testExplode($original, $desired) {
  $processed = SchemaMetatagManager::explode($original);
  $this
    ->assertEquals($desired, $processed);
}