### Question:
BigQueryStatementIssuingFn extends DoFn<KV<String, BigQueryAction>, Void> { static String makeJobId(String jobIdPrefix, String statement) { DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyy_MM_dd_HH_mm_ssz") .withZone(ZoneId.of("UTC")); String randomId = UUID.randomUUID().toString(); return String.format("%s_%d_%s_%s", jobIdPrefix, Math.abs(statement.hashCode()), formatter.format(Instant.now()), randomId); } BigQueryStatementIssuingFn(String jobIdPrefix); @Setup void setUp(); @ProcessElement void process(ProcessContext c);  }### Answer:
@Test void testMakeJobId() { String jobId = BigQueryStatementIssuingFn.makeJobId( "my_prefix", "SELECT my, bq, statement FROM pipeline"); assertThat(jobId, matchesPattern("my_prefix_[0-9]+_2[0-9_]+UTC_[0-9a-f-]+")); }