public function testNew()
{
$this->logIn();
$client = $this->client;
$crawler = $client->request('GET', '/admin/announcement/new');
$this->assertStatusCode(200, $client);
$form = $crawler->filter('form[name=admin_announcement]')->form();
$form['admin_announcement[title]'] = 'Title';
$form['admin_announcement[content]'] = 'http://ojs.io';
$crawler = $client->submit($form);
$this->assertTrue($client->getResponse()->isRedirect());
$client->followRedirect();
$this->assertContains('Title', $this->client->getResponse()->getContent());
}