public function testIndexWithCreate()
{
$folder = 'create_folder';
$crawler = $this->client->request('POST', $this->app->url('admin_content_file'), array('form' => array('_token' => 'dummy', 'create_file' => $folder, 'file' => ''), 'mode' => 'create'));
$this->assertTrue($this->client->getResponse()->isSuccessful());
$this->assertTrue(is_dir($this->app['config']['user_data_realdir'] . '/' . $folder));
}