protected function XmlEncoderTest::setUp in Zircon Profile 8
Same name in this branch
- 8 vendor/symfony/serializer/Tests/Encoder/XmlEncoderTest.php \Symfony\Component\Serializer\Tests\Encoder\XmlEncoderTest::setUp()
- 8 core/modules/serialization/tests/src/Unit/Encoder/XmlEncoderTest.php \Drupal\Tests\serialization\Unit\Encoder\XmlEncoderTest::setUp()
Same name and namespace in other branches
- 8.0 core/modules/serialization/tests/src/Unit/Encoder/XmlEncoderTest.php \Drupal\Tests\serialization\Unit\Encoder\XmlEncoderTest::setUp()
Overrides UnitTestCase::setUp
File
- core/
modules/ serialization/ tests/ src/ Unit/ Encoder/ XmlEncoderTest.php, line 38 - Contains \Drupal\Tests\serialization\Unit\Encoder\XmlEncoderTest.
Class
- XmlEncoderTest
- @coversDefaultClass \Drupal\serialization\Encoder\XmlEncoder @group serialization
Namespace
Drupal\Tests\serialization\Unit\EncoderCode
protected function setUp() {
$this->baseEncoder = $this
->getMock('Symfony\\Component\\Serializer\\Encoder\\XmlEncoder');
$this->encoder = new XmlEncoder();
$this->encoder
->setBaseEncoder($this->baseEncoder);
}