public function test($compare) { return $this->value == $compare && $compare == $this->value; }
/** * Tests the expectation. True if it differs from the * held value. * @param mixed $compare Comparison value. * @return boolean True if correct. * @access public */ function test($compare) { return !parent::test($compare); }