public function testnewSearch()
 {
     $view = new ViewList();
     //execute the method and test if it works and does not throws an exception.
     try {
         $view->newSearch();
     } catch (Exception $e) {
         $this->fail();
     }
 }