### Question:
LocalConfig { public synchronized Map<String, String> getLocalConfigValues() { Map<String, String> result = new HashMap<String, String>(); Iterator<String> iter = baseConfig.getKeys(); while (iter.hasNext()) { String key = iter.next(); result.put(key, baseConfig.getString(key)); } return result; } LocalConfig();  LocalConfig(ConfigProperty configProperty, String value);  LocalConfig(Map<ConfigProperty, String> initialValues); synchronized String getConfigProperty(Config.ConfigProperty configProperty); synchronized List<Object> getListConfigProperty(Config.ConfigProperty configProperty); synchronized int getIntConfigProperty(Config.ConfigProperty configProperty); synchronized boolean getBooleanConfigProperty(Config.ConfigProperty configProperty); synchronized void setConfigProperty(Config.ConfigProperty configProperty, Object configPropertyValue); synchronized void printConfigValues(String testName); synchronized Map<String, String> getLocalConfigValues(); synchronized boolean isLocalValuePresent(ConfigProperty configProperty);  }### Answer:
@Test(groups = { "parallelBrowserTest1" }) public void testGetLocalConfigValues(ITestContext ctx) { LocalConfig lc = ConfigManager.getConfig(ctx.getCurrentXmlTest().getName()); Map<String, String> values = lc.getLocalConfigValues(); assertTrue(values.get("browser").equals("*chrome")); }
@Test(groups = { "parallelBrowserTest1" }) public void testgetLocalConfigValues(ITestContext ctx) throws Exception { LocalConfig lc = ConfigManager.getConfig(ctx.getCurrentXmlTest().getName()); Map<String, String> localValues = lc.getLocalConfigValues(); assertTrue(!localValues.isEmpty()); }