public function testGetAuthorsForDocumentWithoutAuthors() { $view = Zend_Registry::get('Opus_View'); $doc = $this->createTestDocument(); $docAdapter = new Application_Util_DocumentAdapter($view, $doc); $authors = $docAdapter->getAuthors(); $this->assertTrue(is_array($authors)); $this->assertEmpty($authors); }