public expectOutputRegex ( string $expectedRegex ) | ||
$expectedRegex | string |
public function expectOutputRegex($expectedRegex)
{
if ($this->expectedString !== NULL) {
throw new PHPUnit_Framework_Exception();
}
if (is_string($expectedRegex) || is_null($expectedRegex)) {
$this->expectedRegex = $expectedRegex;
}
}