@Test(expected = IndexOutOfBoundsException.class)
public void setChildBad() {

  new BinaryExpr(new BoolConstantExpr(true),
      new BoolConstantExpr(false), BinOp.LXOR).setChild(2,
        new BoolConstantExpr(false));
}