BooleanOrRolloverCondition implements RolloverCondition { @Override public String toString() { return "BooleanOrRolloverCondition{" + "firstCondition=" + firstCondition + ", secondCondition=" + secondCondition + '}'; } BooleanOrRolloverCondition(
      RolloverCondition firstCondition, RolloverCondition secondCondition); @Override boolean isRolloverReady(PacketBuffer packetBuffer); @Override void accept(Visitor visitor); @Override String toString();  }
@Test public void testToString() { assertThat(condition.toString(), not(nullValue())); }