$this->client = static::createClient();
}
public function logInAs($username)
{
$crawler = $this->client->request('GET', '/login');
$this->client = static::createClient();
}
public function logInAs($username)
{
$crawler = $this->client->request('GET', '/login');
$data = array(
'_username' => $username,
'_password' => 'mypassword',
$data = array(
'_username' => $username,
'_password' => 'mypassword',