MultilinguismFactory { public static Multilinguism getForResource(final String resourceLocation) { Multilinguism result = byResourceLocation.get(resourceLocation); if (result == null) { result = new Multilinguism(new I18N(resourceLocation)); byResourceLocation.put(resourceLocation, result); } return result; }  static Multilinguism getForResource(final String resourceLocation);  }
@Test void shouldGetByResource() { String path = "data/multilinguism/multilinguism.csv"; Multilinguism result = MultilinguismFactory.getForResource(path); assertNotNull(result); }