@Test
public void testAccept() {

  RolloverCondition.Visitor visitor = mock(RolloverCondition.Visitor.class);
  condition.accept(visitor);
  verify(firstCondition).accept(visitor);
  verify(secondCondition).accept(visitor);
  verify(visitor).visit(condition);
}