@Test
public void testSetOptions() throws IOException {

  And and = new And();
  Expression first = mock(Expression.class);
  Expression second = mock(Expression.class);
  Deque<Expression> children = new LinkedList<Expression>();
  children.add(second);
  children.add(first);
  and.addChildren(children);
  FindOptions options = mock(FindOptions.class);
  and.setOptions(options);
  verify(first).setOptions(options);
  verify(second).setOptions(options);
  verifyNoMoreInteractions(first);
  verifyNoMoreInteractions(second);
}