@Test void generate() { var id = ID_GENERATOR.generate(); Assertions.assertDoesNotThrow(() -> Long.parseLong(id)); }
@Override public String generate() { return Long.toString(idGenerator.incrementAndGet()); }
LongIdGenerator implements IdGenerator { @Override public String generate() { return Long.toString(idGenerator.incrementAndGet()); } }
LongIdGenerator implements IdGenerator { @Override public String generate() { return Long.toString(idGenerator.incrementAndGet()); }  }
LongIdGenerator implements IdGenerator { @Override public String generate() { return Long.toString(idGenerator.incrementAndGet()); }  @Override String generate(); }
LongIdGenerator implements IdGenerator { @Override public String generate() { return Long.toString(idGenerator.incrementAndGet()); }  @Override String generate();  }