public function testEdit()
{
$this->logIn();
$client = $this->client;
$crawler = $client->request('GET', '/admin/person-title/1/edit');
$this->assertStatusCode(200, $client);
$form = $crawler->filter('form[name=person_title]')->form();
$form['person_title[translations][' . $this->locale . '][title]'] = 'Person Edit Title - phpunit';
$crawler = $client->submit($form);
$this->assertTrue($client->getResponse()->isRedirect());
$client->followRedirect();
$this->assertContains('Person Edit Title - phpunit', $this->client->getResponse()->getContent());
}