public function XmlEncoderTest::testEncodeWithNamespace 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::testEncodeWithNamespace()
File
- vendor/
symfony/ serializer/ Tests/ Encoder/ XmlEncoderTest.php, line 226
Class
Namespace
Symfony\Component\Serializer\Tests\EncoderCode
public function testEncodeWithNamespace() {
$source = $this
->getNamespacedXmlSource();
$array = $this
->getNamespacedArray();
$this
->assertEquals($source, $this->encoder
->encode($array, 'xml'));
}