GcContent\Controller\TranslationControllerTest::testDownloadActionWithEmptyContent PHP Method

testDownloadActionWithEmptyContent() public method

Test
    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');
    }