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

testComputeStyle() public method

public testComputeStyle ( $expected, $code )
    public function testComputeStyle($expected, $code)
    {
        $shaComputer = new ShaComputer('sha256');
        $this->assertSame($expected, $shaComputer->computeForStyle($code));
    }