You are here

public function XmlEncoderTest::testDecodeWithNamespace in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/serializer/Tests/Encoder/XmlEncoderTest.php \Symfony\Component\Serializer\Tests\Encoder\XmlEncoderTest::testDecodeWithNamespace()

File

vendor/symfony/serializer/Tests/Encoder/XmlEncoderTest.php, line 284

Class

XmlEncoderTest

Namespace

Symfony\Component\Serializer\Tests\Encoder

Code

public function testDecodeWithNamespace() {
  $source = $this
    ->getNamespacedXmlSource();
  $array = $this
    ->getNamespacedArray();
  $this
    ->assertEquals($array, $this->encoder
    ->decode($source, 'xml'));
}