public function testView()
{
$filepath = $this->app['config']['user_data_realdir'] . '/aaa.html';
$contents = '<html><body><h1>test</h1></body></html>';
file_put_contents($filepath, $contents);
$crawler = $this->client->request('GET', $this->app->path('admin_content_file_view') . '?file=' . $filepath);
$this->assertTrue($this->client->getResponse()->isSuccessful());
$this->expected = 'test';
$this->actual = $crawler->filter('h1')->text();
$this->verify();
}