function getFeaturedArticles(Application $app, $ids)
 {
     $ids = json_decode($ids);
     $articles = $this->articleManager->getArticlesFromIds($ids);
     return $app['twig']->render('article/featured.twig', array('articles' => $articles));
 }
 /**
  *@note @phpunit nettoyer après un test
  */
 function tearDown()
 {
     $this->articleManager = new ArticleManager(new Mongo("localhost"), "test");
     $this->userManager = new UserManager(new Mongo("localhost"), "test", getApp());
     $this->userManager->remove(new MongoId($this->user['_id']));
     $this->articleManager->remove(new MongoId($this->article['_id']));
 }