GcDevelopment\Controller\LayoutControllerTest::testUploadActionWithInvalidId PHP Method

testUploadActionWithInvalidId() public method

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