setUpDrupal(1, TRUE); $options = array( 'root' => $this->webroot(), 'uri' => key($sites), ); $this->drush('pm-download', array('devel'), $options + array('cache' => NULL)); $this->drush('pm-enable', array('devel'), $options + array('skip' => NULL, 'yes' => NULL)); $this->drush('fn-view', array('drush_main'), $options); $output = $this->getOutput(); $this->assertTrue((bool)strpos($output, '@return'), 'Output contain @return Doxygen.'); $this->assertTrue((bool)strpos($output, 'function drush_main() {'), 'Output contains function drush_main() declaration'); } }