DoctorTestCase::assertStringDoesNotContainRx PHP Method

assertStringDoesNotContainRx() public method

Reports an error if the $string contains $expected. Inverse of assertStringContainsRx().
public assertStringDoesNotContainRx ( $expectedRx, string $string ) : boolean
$string string the haystack
return boolean
    function assertStringDoesNotContainRx($expectedRx, $string)
    {
        $contained = $this->inStrRx($string, $expectedRx);
        return $this->assertFalse($contained);
    }