Extends
lithium\core\Object
Checks that the regular expression `$expected` is not matched in the result.
ParĂ¢metros
- mixed $expected
- mixed $result
- string $message
Source
public function assertNoPattern($expected, $result, $message = '{:message}') {
$this->assert(!preg_match($expected, $result), $message, compact('expected', 'result'));
}