/** * Test * * @return void */ public function testDownloadActionWithEmptyContent() { $translator = new Translator(); $translator->delete('1 = 1'); $this->dispatch('/admin/content/translation/download'); $this->assertResponseStatusCode(302); $this->assertModuleName('GcContent'); $this->assertControllerName('TranslationController'); $this->assertControllerClass('TranslationController'); $this->assertMatchedRouteName('content/translation/download'); }