CountSegment implements Segment { @Override public String getStaticText() { return null; } CountSegment(); @Override String getStaticText(); @Override String createToken(final String prefix, final Timestamp timestamp); @Override boolean validateToken(final String token);  }
@Test public void doesNotHaveStaticText() { CountSegment segment = new CountSegment(); assertThat(segment.getStaticText()).isNull(); }