public function testEdit()
{
$this->logIn();
$client = $this->client;
$crawler = $client->request('GET', '/admin/contact-type/2/edit');
$this->assertStatusCode(200, $client);
$form = $crawler->filter('form[name=contact_types]')->form();
$form['contact_types[translations][' . $this->locale . '][name]'] = 'Contact Name Edit';
$form['contact_types[translations][' . $this->locale . '][description]'] = 'Contact Description';
$client->submit($form);
$this->assertTrue($client->getResponse()->isRedirect());
$client->followRedirect();
$this->assertContains('Contact Name Edit', $this->client->getResponse()->getContent());
}