public function test_nequals() { $this->_object->setSymbol('~'); $newobj = new RtfControlSymbol(); $newobj->setSymbol('#'); $this->assertFalse($this->_object->equals($newobj)); $this->assertFalse($newobj->equals($this->_object)); }
public function equals($object) { return parent::equals($object) && $this->_value === $object->_value; }