GcDevelopment\Controller\ScriptControllerTest::testDownloadActionWithInvalidId PHP Method

testDownloadActionWithInvalidId() public method

Test
    public function testDownloadActionWithInvalidId()
    {
        $this->dispatch('/admin/development/script/download/9999');
        $this->assertResponseStatusCode(302);
        $this->assertModuleName('GcDevelopment');
        $this->assertControllerName('ScriptController');
        $this->assertControllerClass('ScriptController');
        $this->assertMatchedRouteName('development/script/download');
    }