ProcessIdSegment implements Segment { @Override public String getStaticText() { return pid; } ProcessIdSegment(); @Override String getStaticText(); @Override boolean validateToken(final String token); @Override String createToken(final String prefix, final Timestamp timestamp);  }
@Test public void doesHaveStaticText() { ProcessIdSegment segment = new ProcessIdSegment(); assertThat(segment.getStaticText()).isEqualTo(PROCESS_ID); }