@Test public void testLoadWithoutProperties() throws Exception { String content = ""; PropertyResolver propertyResolver = load(content); assertThat(propertyResolver).isNotNull(); assertThat(propertyResolver.getString("")).isNull(); assertThat(propertyResolver.getStringList("")).isNull(); assertThat(propertyResolver.getStringMap("")).isNull(); }
@Override public PropertyResolver load(InputStream inputStream) throws IOException { MatchingReader reader = new MatchingReader(new BufferedReader(new InputStreamReader(inputStream))); return load(reader); }
PropertiesLocalizationLoader implements LocalizationLoader { @Override public PropertyResolver load(InputStream inputStream) throws IOException { MatchingReader reader = new MatchingReader(new BufferedReader(new InputStreamReader(inputStream))); return load(reader); } }
PropertiesLocalizationLoader implements LocalizationLoader { @Override public PropertyResolver load(InputStream inputStream) throws IOException { MatchingReader reader = new MatchingReader(new BufferedReader(new InputStreamReader(inputStream))); return load(reader); }  }
PropertiesLocalizationLoader implements LocalizationLoader { @Override public PropertyResolver load(InputStream inputStream) throws IOException { MatchingReader reader = new MatchingReader(new BufferedReader(new InputStreamReader(inputStream))); return load(reader); }  @Override PropertyResolver load(InputStream inputStream); }
PropertiesLocalizationLoader implements LocalizationLoader { @Override public PropertyResolver load(InputStream inputStream) throws IOException { MatchingReader reader = new MatchingReader(new BufferedReader(new InputStreamReader(inputStream))); return load(reader); }  @Override PropertyResolver load(InputStream inputStream);  }