public function testAutomaticaly() { I18n::SetDefault("en"); I18n::load("en"); $res = I18n::get_answer_from_google("Bienvenue, veuillez vous identifier\nContacter le créateur de l'application", "fr"); $this->assertEquals($res[0], "Welcome, please log"); $this->assertEquals($res[1], "Contact the creator of the application"); }