Пример #1
0
 /**
  * Testing the loadTags() method for accessing the tags on a given object type directly.
  *
  * @since 1.0
  */
 public function testLoadTags()
 {
     $this->article->save();
     $tagsA = $this->article->getPropObject('tags')->getRelatedObjects();
     $tag = new Tag();
     $tagsB = $tag->loadTags('Alpha\\Model\\Article', $this->article->getOID());
     $this->assertEquals(count($tagsA), count($tagsB), 'testing the loadTags() method for accessing the tags on a given object type directly');
 }