@expectedException \Symfony\Component\Serializer\Exception\UnexpectedValueException
public function testDenormalizeOnNormalizer() {
$this->serializer = new Serializer(array(
new TestNormalizer(),
), array());
$data = array(
'title' => 'foo',
'numbers' => array(
5,
3,
),
);
$this
->assertTrue($this->serializer
->denormalize(json_encode($data), 'stdClass', 'json'));
}