@internal This method is not covered by the backward compatibility promise for PHPUnit
public final function hasUnexpectedOutput() : bool { if ($this->output === '') { return false; } if ($this->expectsOutput()) { return false; } return true; }