public function __construct($value) { parent::__construct($value); $this->_value = $value; }
/** * Creates a new instance of IsSame. * * @param mixed $object * The predicate evaluates to true only when the argument is * this object. */ function sameInstance($object) { require_once 'Hamcrest/Core/IsSame.php'; return Hamcrest_Core_IsSame::sameInstance($object); }
protected function createMatcher() { return Hamcrest_Core_IsSame::sameInstance(new stdClass()); }