Nelmio\SecurityBundle\Tests\ContentSecurityPolicy\ShaComputerTest::testComputeScriptShouldFail PHP Method

testComputeScriptShouldFail() public method

public testComputeScriptShouldFail ( $code )
    public function testComputeScriptShouldFail($code)
    {
        $shaComputer = new ShaComputer('sha256');
        $shaComputer->computeForScript($code);
    }