public function SerializerTest::testNormalizeNoMatch in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/serializer/Tests/SerializerTest.php \Symfony\Component\Serializer\Tests\SerializerTest::testNormalizeNoMatch()
@expectedException \Symfony\Component\Serializer\Exception\UnexpectedValueException
File
- vendor/
symfony/ serializer/ Tests/ SerializerTest.php, line 39
Class
Namespace
Symfony\Component\Serializer\TestsCode
public function testNormalizeNoMatch() {
$this->serializer = new Serializer(array(
$this
->getMock('Symfony\\Component\\Serializer\\Normalizer\\CustomNormalizer'),
));
$this->serializer
->normalize(new \stdClass(), 'xml');
}