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