GcContent\Controller\TranslationControllerTest::testUploadActionWithEmptyFilesData PHP Method

testUploadActionWithEmptyFilesData() public method

Test
    public function testUploadActionWithEmptyFilesData()
    {
        $_FILES = array('upload' => array());
        $this->dispatch('/admin/content/translation/upload');
        $this->assertResponseStatusCode(302);
        $this->assertModuleName('GcContent');
        $this->assertControllerName('TranslationController');
        $this->assertControllerClass('TranslationController');
        $this->assertMatchedRouteName('content/translation/upload');
    }