function YamlTest::testGetFileExtension
Same name in other branches
- 8.9.x core/tests/Drupal/Tests/Component/Serialization/YamlTest.php \Drupal\Tests\Component\Serialization\YamlTest::testGetFileExtension()
- 10 core/tests/Drupal/Tests/Component/Serialization/YamlTest.php \Drupal\Tests\Component\Serialization\YamlTest::testGetFileExtension()
- 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 55
Class
- YamlTest
- @coversDefaultClass \Drupal\Component\Serialization\Yaml @group Serialization
Namespace
Drupal\Tests\Component\SerializationCode
public function testGetFileExtension() {
$this->mockParser
->expects($this->never())
->method('getFileExtension');
$this->assertEquals('yml', YamlStub::getFileExtension());
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.