/**
  * @covers PHPUnit_Framework_Constraint_ExceptionMessageRegExp
  */
 public function testExceptionWithInvalidRegexpMessage()
 {
     $test = new ThrowExceptionTestCase('test');
     $test->setExpectedExceptionRegExp('RuntimeException', '#runtime .*? occurred/');
     // wrong delimiter
     $result = $test->run();
     $this->assertEquals("Invalid expected exception message regex given: '#runtime .*? occurred/'", $test->getStatusMessage());
 }