/**
  * Tests to see if the french home page is the root url and the english home page is not for french browsers
  */
 public function testFrenchShouldBeRoot()
 {
     //Set accept language to french
     $_SERVER['HTTP_ACCEPT_LANGUAGE'] = 'fr-FR,fr;q=0.5';
     Translatable::set_default_locale('fr_FR');
     Translatable::set_current_locale('fr_FR');
     i18n::set_locale('fr_FR');
     $default = $this->objFromFixture('Page', 'home');
     $defaultFR = $this->objFromFixture('Page', 'home_fr');
     $this->assertEquals(false, MultilingualRootURLController::should_be_on_root($default));
     $this->assertEquals(true, MultilingualRootURLController::should_be_on_root($defaultFR));
 }