### Question:
ErrorManageUtil { public static synchronized void uploadError(String account, String region, String type, String exception) { try{ List<ErrorVH> errorList = errorMap.get(account); if(errorList==null){ errorList = new ArrayList<>(); errorMap.put(account, errorList); } ErrorVH error = new ErrorVH(); error.setException(exception); error.setRegion(region); error.setType(type); errorList.add(error); }catch(Exception e){ log.error("Error in uploadError",e); } } private  ErrorManageUtil(); static void initialise(); static void finalise(); static synchronized void uploadError(String account, String region, String type, String exception); static void writeErrorFile(); static Map<String,Object> formErrorCode();  }### Answer:
@SuppressWarnings("static-access") @Test public void uploadErrorTest() throws Exception{ errorManageUtil.uploadError("account", "region", "type", "exception"); }