Storm\Core\Object\DiscardedRelationship::IsIdentifying PHP Метод

IsIdentifying() публичный Метод

public IsIdentifying ( ) : boolean
Результат boolean
    public function IsIdentifying()
    {
        return $this->IsIdentifying;
    }

Usage Example

 public function testSuppliedParametersAreEqualToGetterMethods()
 {
     $IsIdentifying = true;
     $ParentIdentity = $this->getMockWithoutConstructor(self::CoreObjectNamespace . 'Identity');
     $ReletedIdentity = $this->getMockWithoutConstructor(self::CoreObjectNamespace . 'Identity');
     $DiscardedRelationship = new DiscardedRelationship($IsIdentifying, $ParentIdentity, $ReletedIdentity);
     $this->assertEquals($DiscardedRelationship->IsIdentifying(), $IsIdentifying);
     $this->assertEquals($DiscardedRelationship->GetParentIdentity(), $ParentIdentity);
     $this->assertEquals($DiscardedRelationship->GetRelatedIdentity(), $ReletedIdentity);
 }