/**
  * @covers CIUnit_Framework_Assert::assertStringMatchesRegex()
  */
 public function testAssertStringMatchesRegexProperlyFailsWithInvalidTypeException()
 {
     // #1 must be string
     try {
         CIUnit_Framework_Assert::assertStringMatchesRegex(1, 'presentation');
     } catch (CIUnit_Framework_Exception_InvalidArgument $e) {
         return;
     }
     // #2 String as well
     try {
         CIUnit_Framework_Assert::assertStringMatchesRegex('/^pre/', array('a', 'b'));
     } catch (CIUnit_Framework_Exception_InvalidArgument $e) {
         return;
     }
     $this->fail();
 }