/** * @covers Model::getVocabularyCategories * @depends testConstructorWithConfig */ public function testGetVocabularyCategories() { $model = new Model(new GlobalConfig('/../tests/testconfig.inc')); $categories = $model->getVocabularyCategories(); foreach ($categories as $category) { $this->assertInstanceOf('VocabularyCategory', $category); } }