public function index()
 {
     $articles = $this->articleModel->getNews();
     foreach ($articles as &$article) {
         $article = $this->getInfos($article);
     }
     $this->getView()->render('article/index', array('articles' => $articles));
 }
 public function testGetAll()
 {
     $this->model = new ArticleModel();
     $state = $this->model->getNews();
     $this->assertNotEmpty($state);
 }