MegabyteCountRolloverCondition implements RolloverCondition { @Override public String toString() { return "MegabyteCountRolloverCondition{" + "megabyteCountThreshold=" + megabyteCountThreshold + '}'; } MegabyteCountRolloverCondition(long megabyteCountThreshold); long getMegabyteCountThreshold(); void setMegabyteCountThreshold(long megabyteCountThreshold); @Override boolean isRolloverReady(PacketBuffer packetBuffer); @Override void accept(Visitor visitor); @Override String toString(); static final long MIN_VALUE; static final long MAX_VALUE; }
@Test public void testToString() { assertThat(condition.toString(), notNullValue()); }