Horde_Rdo_Test_Sql_Base::testToOneRelationRetrievesEntityWhenKeyIsFound PHP Méthode

testToOneRelationRetrievesEntityWhenKeyIsFound() public méthode

    public function testToOneRelationRetrievesEntityWhenKeyIsFound()
    {
        $entity = self::$LazyBaseObjectMapper->findOne(1);
        $this->assertTrue($entity->lazyRelatedThing instanceof Horde_Rdo_Test_Objects_RelatedThing, "to-one-relations return an instance object");
    }