コード例 #1
0
 /**
  * @expectedException \Symfony\Component\Serializer\Exception\RuntimeException
  * @expectedExceptionMessage Invalid datetime "qwerty", expected format Y-m-d\TH:i:sO.
  */
 public function testDenormalizeException()
 {
     $this->normalizer->denormalize('qwerty', 'DateTime', null);
 }