### Question:
RequestDataConverter { public static String getRegionByCityName(String cityName) { if (CITY_NAME_CITY_CODE_MAP.containsKey(cityName)) { String cityCode = String.valueOf(CITY_NAME_CITY_CODE_MAP.get(cityName)); return getRegionByCityCode(cityCode); } 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 getRegionByCityName() { String city = "city1"; String res = RequestDataConverter.getRegionByCityName(city); assertEquals("80", res); city = "123"; res = RequestDataConverter.getRegionByCityName(city); assertEquals("", res); }