public function testDeserializeNotSupported() {
$this->serializer = new Serializer(array(
new GetSetMethodNormalizer(),
), array());
$data = array(
'title' => 'foo',
'numbers' => array(
5,
3,
),
);
$this
->assertFalse($this->serializer
->supportsDenormalization(json_encode($data), 'stdClass', 'json'));
}