@Test public void testChangeLanguage() { System.out.println("changeLanguage"); String languageId = "test2"; instance.changeLanguage(languageId); StringResourceLoader result = instance.getStringRes(); assert (result.containsId("testo")); assert (result.containsId("testo2")); assertEquals("es un testo", result.getStringFromID("testo")); assertEquals("es un testo tambien", result.getStringFromID("testo2")); instance.changeLanguage("test"); }
public void changeLanguage(String languageId) { this.languageId = languageId; this.initialize(); }
StringResourceProvider { public void changeLanguage(String languageId) { this.languageId = languageId; this.initialize(); } }
StringResourceProvider { public void changeLanguage(String languageId) { this.languageId = languageId; this.initialize(); } StringResourceProvider(String languageId); }
StringResourceProvider { public void changeLanguage(String languageId) { this.languageId = languageId; this.initialize(); } StringResourceProvider(String languageId); void changeLanguage(String languageId); }
StringResourceProvider { public void changeLanguage(String languageId) { this.languageId = languageId; this.initialize(); } StringResourceProvider(String languageId); void changeLanguage(String languageId);  }