public function testDownloadContentAction() { $this->dispatch('/admin/module/backup/download-content', 'POST', array('what' => array('documents'))); $this->assertResponseStatusCode(200); $this->assertModuleName('Backup'); $this->assertControllerName('BackupController'); $this->assertControllerClass('IndexController'); $this->assertMatchedRouteName('module/backup/download-content'); }