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