@Test
  public void testOr_primitive_validInput_2items() {
    assertTrue("False result for (true, true)", BooleanUtils.or(new boolean[] {true, true}));

    assertTrue("True result for (false, false)", !BooleanUtils.or(new boolean[] {false, false}));

    assertTrue("False result for (true, false)", BooleanUtils.or(new boolean[] {true, false}));

    assertTrue("False result for (false, true)", BooleanUtils.or(new boolean[] {false, true}));
  }
  @Test
  public void testOr_object_validInput_3items() {
    assertTrue(
        "False result for (false, false, true)",
        BooleanUtils.or(new Boolean[] {Boolean.FALSE, Boolean.FALSE, Boolean.TRUE}).booleanValue());

    assertTrue(
        "False result for (false, true, false)",
        BooleanUtils.or(new Boolean[] {Boolean.FALSE, Boolean.TRUE, Boolean.FALSE}).booleanValue());

    assertTrue(
        "False result for (true, false, false)",
        BooleanUtils.or(new Boolean[] {Boolean.TRUE, Boolean.FALSE, Boolean.FALSE}).booleanValue());

    assertTrue(
        "False result for (true, true, true)",
        BooleanUtils.or(new Boolean[] {Boolean.TRUE, Boolean.TRUE, Boolean.TRUE}).booleanValue());

    assertTrue(
        "True result for (false, false)",
        !BooleanUtils.or(new Boolean[] {Boolean.FALSE, Boolean.FALSE, Boolean.FALSE})
            .booleanValue());

    assertTrue(
        "False result for (true, true, false)",
        BooleanUtils.or(new Boolean[] {Boolean.TRUE, Boolean.TRUE, Boolean.FALSE}).booleanValue());

    assertTrue(
        "False result for (true, false, true)",
        BooleanUtils.or(new Boolean[] {Boolean.TRUE, Boolean.FALSE, Boolean.TRUE}).booleanValue());

    assertTrue(
        "False result for (false, true, true)",
        BooleanUtils.or(new Boolean[] {Boolean.FALSE, Boolean.TRUE, Boolean.TRUE}).booleanValue());
  }
 @Test(expected = IllegalArgumentException.class)
 public void testOr_object_nullElementInput() {
   BooleanUtils.or(new Boolean[] {null});
 }
 @Test(expected = IllegalArgumentException.class)
 public void testOr_object_nullInput() {
   BooleanUtils.or((Boolean[]) null);
 }
 @Test(expected = IllegalArgumentException.class)
 public void testOr_primitive_emptyInput() {
   BooleanUtils.or(new boolean[] {});
 }