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