public function testForcedSslSkipsWhitelisted()
{
$listener = new ForcedSslListener(60, true, false, array('^/foo/', 'bar'));
$response = $this->callListenerReq($listener, '/foo/lala', true);
$this->assertSame(null, $response);
$response = $this->callListenerReq($listener, '/lala/foo/lala', true);
$this->assertSame('https://localhost/lala/foo/lala', $response->headers->get('Location'));
$response = $this->callListenerReq($listener, '/lala/abarb', true);
$this->assertSame(null, $response);
}