@Test public void testInitialize() { System.out.println("initialize"); instance.initialize(); StringResourceLoader result = instance.getStringRes(); assert (result.containsId("test")); assert (result.containsId("test2")); assertEquals("this is a test", result.getStringFromID("test")); assertEquals("also a test", result.getStringFromID("test2")); }
protected abstract void initialize();
StringResourceProvider { protected abstract void initialize(); }
StringResourceProvider { protected abstract void initialize(); StringResourceProvider(String languageId); }
StringResourceProvider { protected abstract void initialize(); StringResourceProvider(String languageId); void changeLanguage(String languageId); }
StringResourceProvider { protected abstract void initialize(); StringResourceProvider(String languageId); void changeLanguage(String languageId);  }