/**
  * @expectedException InvalidArgumentException
  * @expectedExceptionMessage unable to parse the certificate
  */
 public function testBrokenData()
 {
     $certParser = CertParser::fromPem('foo');
 }