DoctorTestCase::assertStringDoesNotContainRx PHP 메소드

assertStringDoesNotContainRx() 공개 메소드

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