/** * @expectedException \LightSaml\Error\LightSamlException * @expectedExceptionMessage Certificate data not set */ public function test_error_when_parse_called_with_out_data_set() { $certificate = new X509Certificate(); $certificate->parse(); }