### Question:
SystemConfig { public static Map<String, String> getLoadBalanceModeMap() { return loadBalanceModeMap; }  static Properties getProperties(); static Properties getSwitchProperties(); static Map<String, String> getLoadBalanceModeMap(); static int getProviderMaxConnetions(); static void setProviderMaxConnetions(int providerMaxConnetions);  }### Answer:
@Test public void getLoadBalanceMode() throws Exception { Map<String, String> loadBalanceModeMap = SystemConfig.getLoadBalanceModeMap(); Assert.assertTrue(loadBalanceModeMap.size() == 1); String mode = loadBalanceModeMap.get(GlobalConstants.LOAD_BALANCE_EMPTY_METHOD); Assert.assertTrue(StringUtils.isNotEmpty(mode)); List<String> modeList = new ArrayList<String>(2); modeList.add(LoadBalanceMode.connection.name()); modeList.add(LoadBalanceMode.request.name()); Assert.assertTrue(modeList.contains(mode)); }