'; } /** * Check if the actual value matches the expected. * * @template TMixed * * @param TMixed $actual * * @return bool */ public function match(&$actual) { if (! is_object($actual)) { return $this->_expected === $actual; } return $this->_expected == $actual; } }