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