GcDevelopment\Controller\LayoutControllerTest::testUploadActionWithEmptyFilesData PHP Method

testUploadActionWithEmptyFilesData() public method

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