Backup\Controller\IndexControllerTest::testUploadActionWithEmptyFilesData PHP Method

testUploadActionWithEmptyFilesData() public method

Test
    public function testUploadActionWithEmptyFilesData()
    {
        $_FILES = array('upload' => array());
        $this->dispatch('/admin/module/backup/upload-content');
        $this->assertResponseStatusCode(302);
        $this->assertModuleName('Backup');
        $this->assertControllerName('BackupController');
        $this->assertControllerClass('IndexController');
        $this->assertMatchedRouteName('module/backup/upload-content');
    }