@covers PHPUnit_Framework_Assert::assertNotRegExp
public function testAssertNotRegExp() {
$this
->assertNotRegExp('/foo/', 'bar');
try {
$this
->assertNotRegExp('/foo/', 'foobar');
} catch (PHPUnit_Framework_AssertionFailedError $e) {
return;
}
$this
->fail();
}