public function testDefaultWithAddScript()
{
$listener = $this->buildSimpleListener(array('default-src' => "default.example.org 'self'"));
$response = $this->callListener($listener, '/', true, 'text/html', array('scripts' => array('<script></script>'), 'styles' => array('<style></style>')), 3);
$this->assertEquals("default-src default.example.org 'self'; script-src default.example.org 'self' 'unsafe-inline' 'sha-script'; style-src default.example.org 'self' 'unsafe-inline' 'sha-style'", $response->headers->get('Content-Security-Policy'));
}