public function testGenerateMetaRedirect() {
$response = new RedirectResponse('foo.bar');
$this
->assertEquals(1, preg_match('#<meta http-equiv="refresh" content="\\d+;url=foo\\.bar" />#', preg_replace(array(
'/\\s+/',
'/\'/',
), array(
' ',
'"',
), $response
->getContent())));
}