openAccount($auth); $crawler = self::$DI['client']->request('GET', '/prod/'); $response = self::$DI['client']->getResponse(); /* @var $response \Symfony\Component\HttpFoundation\Response */ $this->assertEquals(200, $response->getStatusCode()); $this->assertEquals('UTF-8', $response->getCharset()); } }