SimpleXTime implements XTime<F> { @Override public final String toString() { LOGGER.trace("begin {}.toString()", getClass().getSimpleName()); final String rval = String.format("%d (%s)", _tick, _phase); LOGGER.trace("will return: {}", rval); LOGGER.trace("end {}.toString()", getClass().getSimpleName()); return rval; } SimpleXTime(
            final long tick,
            final F phase); @Override final long getTick(); @Override final F getPhase(); @Override final int compareTo(
            final XTime<F> other); @Override final boolean equals(
            final Object obj); @Override final int hashCode(); @Override final String toString();  }
@Test public final void toStringSucceeds() { assertThat(new SimpleXTime<PhaseImpl>(1, PhaseImpl.PHASE_1).toString(), is(notNullValue())); }