public void insertOrUpdateOutputData(OutputData outputData) {
    final String outputDataStr = validateAndToJson(outputData);
    withMetricLogError(
        () ->
            withRetryableUpdate(UPSERT_OUTPUT_DATA_QUERY, stmt -> stmt.setString(1, outputDataStr)),
        "insertOrUpdateOutputData",
        "Failed updating output data: [{}]",
        outputDataStr);
  }
@Test(expected = IllegalArgumentException.class)
  public void testValidateParamListEmpty() {
    OutputData param =
        new OutputData(
            JOB_TYPE,
            EXT_JOB_ID,
            WORKFLOW_ID,
            System.currentTimeMillis(),
            System.currentTimeMillis(),
            new HashMap<>(),
            new HashMap<>());
    dao.insertOrUpdateOutputData(param);
  }