UUIDGenerator implements IdGenerator { @Override public String generate() { return UUID.randomUUID().toString(); }  @Override String generate();  }
@Test void generate() { var id = ID_GENERATOR.generate(); Assertions.assertDoesNotThrow(() -> UUID.fromString(id)); }