@expectedException \Symfony\Component\HttpFoundation\File\Exception\FileException
public function testMoveLocalFileIsNotAllowed() {
$file = new UploadedFile(__DIR__ . '/Fixtures/test.gif', 'original.gif', 'image/gif', filesize(__DIR__ . '/Fixtures/test.gif'), UPLOAD_ERR_OK);
$movedFile = $file
->move(__DIR__ . '/Fixtures/directory');
}