/**
  * @see Comparable::equals
  *
  * @param mixed $target
  *
  * @return bool
  */
 public function equals($target)
 {
     if ($this === $target) {
         return true;
     }
     return $target instanceof self && parent::equals($target) && $this->actualLanguageCode === $target->actualLanguageCode && $this->sourceLanguageCode === $target->sourceLanguageCode;
 }
 public function testGivenSimilarFallbackObject_equalsReturnsFalse()
 {
     $aliasGroup = new AliasGroup('de');
     $aliasGroupFallback = new AliasGroupFallback('de', array(), 'en', null);
     $this->assertFalse($aliasGroup->equals($aliasGroupFallback));
 }