MultiLineConfigure { public void load(String name) throws IOException { load(name, DEFAULT_ENCODING); } MultiLineConfigure();  MultiLineConfigure(String name);  MultiLineConfigure(ClassLoader classLoader, String name);  MultiLineConfigure(String path, String name);  MultiLineConfigure(File file, String name); int size(); Set<String> keys(); Object get(String key); String getValueOrNull(String key, String defaultValue); String[] getValues(String key); String[] getValues(String key, String[] defaultValue); void load(String name); void load(String name, String encoding); void load(ClassLoader classLoader, String name); void addAll(MultiLineConfigure multiLineConfigure);  }
@Test public void testLoad() { MultiLineConfigure properties = new MultiLineConfigure(EMBEDDED_LIGHT_CONFIG); assertThat(properties.getValueOrNull("empty"), nullValue()); assertThat(properties.getValueOrNull("ignore_bci_pattern"), is("com.geeksaga.light.")); assertThat(Arrays.asList(properties.getValues("ignore_bci_pattern")), containsInAnyOrder("com.geeksaga.light.", "java.lang.", "java.lang.String.toString()V")); assertThat(Arrays.asList(properties.getValues("ignore_bci_pattern")).size(), is(3)); }