ProcessIdToken implements Token { @Override public void render(final LogEntry logEntry, final StringBuilder builder) { builder.append(rendered); } ProcessIdToken(); @Override Collection<LogEntryValue> getRequiredLogEntryValues(); @Override void render(final LogEntry logEntry, final StringBuilder builder); @Override void apply(final LogEntry logEntry, final PreparedStatement statement, final int index);  }
@Test public void render() { ProcessIdToken token = new ProcessIdToken(); assertThat(render(token)).isEqualTo(Long.toString(RuntimeProvider.getProcessId())); }