function YamlTest::testDecode
@covers ::decode
File
-
core/
tests/ Drupal/ Tests/ Component/ Serialization/ YamlTest.php, line 45
Class
- YamlTest
- @coversDefaultClass \Drupal\Component\Serialization\Yaml[[api-linebreak]] @group Serialization
Namespace
Drupal\Tests\Component\SerializationCode
public function testDecode() {
$this->mockParser
->expects($this->once())
->method('decode');
YamlStub::decode('test');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.