public function XmlEncoderTest::testDecodeScalar in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/serializer/Tests/Encoder/XmlEncoderTest.php \Symfony\Component\Serializer\Tests\Encoder\XmlEncoderTest::testDecodeScalar()
File
- vendor/
symfony/ serializer/ Tests/ Encoder/ XmlEncoderTest.php, line 210
Class
Namespace
Symfony\Component\Serializer\Tests\EncoderCode
public function testDecodeScalar() {
$source = '<?xml version="1.0"?>' . "\n" . '<response>foo</response>' . "\n";
$this
->assertEquals('foo', $this->encoder
->decode($source, 'xml'));
}