function YamlTest::testGetFileExtension

Same name in other branches
  1. 9 core/tests/Drupal/Tests/Component/Serialization/YamlTest.php \Drupal\Tests\Component\Serialization\YamlTest::testGetFileExtension()
  2. 8.9.x core/tests/Drupal/Tests/Component/Serialization/YamlTest.php \Drupal\Tests\Component\Serialization\YamlTest::testGetFileExtension()
  3. 11.x core/tests/Drupal/Tests/Component/Serialization/YamlTest.php \Drupal\Tests\Component\Serialization\YamlTest::testGetFileExtension()

@covers ::getFileExtension

File

core/tests/Drupal/Tests/Component/Serialization/YamlTest.php, line 56

Class

YamlTest
Tests the Yaml serialization implementation.

Namespace

Drupal\Tests\Component\Serialization

Code

public function testGetFileExtension() : void {
    $this->assertSame('yml', Yaml::getFileExtension());
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.