### Question:
IniFileConfigDatabase extends AbstractConfigDatabase { public static ConfigDatabase globalOnly(Platform platform) { return new IniFileConfigDatabase(platform, null, true); } IniFileConfigDatabase(final Platform platform);  IniFileConfigDatabase(final Platform platform, final Hints hints);  IniFileConfigDatabase(final Platform platform, final Hints hints,
            final boolean globalOnly); static ConfigDatabase globalOnly(Platform platform);  }### Answer:
@Test public void testGlobalOnly() { ConfigDatabase globalOnly = IniFileConfigDatabase.globalOnly(platform); testGlobalOnly(() -> globalOnly.get("section.key")); testGlobalOnly(() -> globalOnly.getAll()); testGlobalOnly(() -> globalOnly.get("section.key", String.class)); testGlobalOnly(() -> globalOnly.getAllSection("section")); testGlobalOnly(() -> globalOnly.getAllSubsections("section.sub")); testGlobalOnly(() -> globalOnly.put("section.key", "val")); testGlobalOnly(() -> globalOnly.remove("section.key")); testGlobalOnly(() -> globalOnly.removeSection("section")); }