// cSpell:disable
$this->
assertEquals('foo:
bar: \'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus sapien ex, venenatis vitae nisi eu, posuere luctus dolor. Nullam convallis\'
', YamlSymfony::
encode(['foo' =>
['bar' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus sapien ex, venenatis vitae nisi eu, posuere luctus dolor. Nullam convallis'
]]));
// cSpell:enable
} /**
* @covers ::getFileExtension
*/
public function testGetFileExtension() { $this->
assertEquals('yml', YamlSymfony::
getFileExtension());
} /**
* Tests that invalid YAML throws an exception.
*
* @covers ::decode
*/
public function testError() { $this->
expectException(InvalidDataTypeException::
class);
YamlSymfony::
decode('foo: [ads'
);
}