Example #1
0
 /**
  * @covers Model::getVocabularyList
  * @depends testConstructorWithConfig
  */
 public function testGetVocabularyList()
 {
     $model = new Model(new GlobalConfig('/../tests/testconfig.inc'));
     $categories = $model->getVocabularyList();
     foreach ($categories as $category) {
         foreach ($category as $vocab) {
             $this->assertInstanceOf('Vocabulary', $vocab);
         }
     }
 }