### Question:
LoggerUtils { public static String buildTaskId(String affix, int processDefId, int processInstId, int taskId) { return String.format(" - %s%s-%s-%s-%s]", TASK_APPID_LOG_FORMAT, affix, processDefId, processInstId, taskId); } private  LoggerUtils(); static String buildTaskId(String affix,
                                     int processDefId,
                                     int processInstId,
                                     int taskId); static List<String> getAppIds(String log, Logger logger); static void logError(Optional<Logger> optionalLogger
            , String error); static void logError(Optional<Logger> optionalLogger
            , Throwable e); static void logError(Optional<Logger> optionalLogger
            , String error, Throwable e); static void logInfo(Optional<Logger> optionalLogger
            , String info); static final String TASK_LOGGER_INFO_PREFIX; static final String TASK_LOGGER_THREAD_NAME; static final String TASK_APPID_LOG_FORMAT; }### Answer:
@Test public void buildTaskId() { String taskId = LoggerUtils.buildTaskId(LoggerUtils.TASK_LOGGER_INFO_PREFIX,79,4084,15210); Assert.assertEquals(" - [taskAppId=TASK-79-4084-15210]", taskId); }