GcDevelopment\Controller\ViewControllerTest::testUploadActionWithEmptyFilesData PHP Method

testUploadActionWithEmptyFilesData() public method

Test
    public function testUploadActionWithEmptyFilesData()
    {
        $_FILES = array('upload' => array());
        $this->dispatch('/admin/development/view/upload');
        $this->assertResponseStatusCode(302);
        $this->assertModuleName('GcDevelopment');
        $this->assertControllerName('ViewController');
        $this->assertControllerClass('ViewController');
        $this->assertMatchedRouteName('development/view/upload');
    }