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 = NullPointerException.class)
  public void testValidateParamEmpty() {
    OutputData outputData = new OutputData(null, null);
    dao.insertOrUpdateOutputData(outputData);
  }