Symfony\Bundle\SecurityBundle\Tests\Functional\WebTestCase::assertRedirect PHP Méthode

assertRedirect() public static méthode

public static assertRedirect ( $response, $location )
    static public function assertRedirect($response, $location)
    {
        self::assertTrue($response->isRedirect());
        self::assertEquals('http://localhost'.$location, $response->headers->get('Location'));
    }