### Question:
GeneratePnfUuidDelegate implements JavaDelegate { @Override public void execute(DelegateExecution delegateExecution) { UUID uuid = UUID.randomUUID(); logger.debug("Generated UUID for pnf: {}, version: {}, variant: {}", uuid, uuid.version(), uuid.variant()); delegateExecution.setVariable(PNF_UUID, uuid.toString()); }  @Override void execute(DelegateExecution delegateExecution);  }### Answer:
@Test public void execute_shouldSetValidUuidAsPnfUuid() { GeneratePnfUuidDelegate delegate = new GeneratePnfUuidDelegate(); DelegateExecution execution = new DelegateExecutionFake(); delegate.execute(execution); assertThat((String) execution.getVariable(PNF_UUID)).matches(PnfCheckInputs.UUID_REGEX); }