### Question:
MonetaryConfig { public static Map<String, String> getConfig() { return Collections.unmodifiableMap(Bootstrap.getService(MonetaryConfigProvider.class).getProperties()); } private  MonetaryConfig(); static String setValue(String key, String value); static Optional<String> getString(String key); static Optional<Boolean> getBoolean(String key); static Optional<Integer> getInteger(String key); static Optional<Long> getLong(String key); static Optional<Float> getFloat(String key); static Optional<Double> getDouble(String key); static Map<String, String> getConfig();  }### Answer:
@Test public void testGetConfig() throws Exception { assertNotNull(MonetaryConfig.getConfig()); assertFalse(MonetaryConfig.getConfig().isEmpty()); }
@Test public void testConfigOverride() throws Exception { assertEquals(MonetaryConfig.getConfig().get("theWinner1"), "theWinner1"); assertEquals(MonetaryConfig.getConfig().get("theWinner2"), "theWinner2"); assertEquals(MonetaryConfig.getConfig().get("theWinner3"), "theWinner2"); }
@Test public void testConfigNormal() throws Exception { assertEquals(MonetaryConfig.getConfig().get("myTestValue"), "myTestValue"); }