### Question:
RequestDataConverter { public static String getRegionByCityCode(String cityCode) { if (CITY_CODE_REGION_MAP.containsKey(cityCode)) { return String.valueOf(CITY_CODE_REGION_MAP.get(cityCode).get(0)); } return ""; } private  RequestDataConverter(); static String getRegionByCityCode(String cityCode); static String getRegionByCityName(String cityName); static String getCityCodeByCityName(String cityName); static Double getRegionRatioByCityCode(String cityCode); static Map<String, Double> getRegionRatioMap(TargetingChannel targetingChannel); static double getHourDayRatio(List<Integer> listOfHours); static Map<Double, List<String>> buildRatioCityCodeRegionMap(List<String> iplCityCodes); static Map<Double, List<String>> buildRatioResidenceRegionMap(List<String> residenceCityNames);  }### Answer:
@Test public void getRegionByCityCode() { String city = "1156510600"; String res = RequestDataConverter.getRegionByCityCode(city); assertEquals("80", res); city = "123"; res = RequestDataConverter.getRegionByCityCode(city); assertEquals("", res); }