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