assertEquals(null, ArrayUtils.toPrimitive(null));
final Boolean[] b = null; assertEquals(null, ArrayUtils.toPrimitive(b));
    public void testToPrimitive_boolean() {        assertEquals(null, ArrayUtils.toPrimitive(null));        assertSame(ArrayUtils.EMPTY_BOOLEAN_ARRAY, ArrayUtils.toPrimitive(new Boolean[0]));        assertTrue(Arrays.equals(            new boolean[] {true, false, true},            ArrayUtils.toPrimitive(new Boolean[] {Boolean.TRUE, Boolean.FALSE, Boolean.TRUE}))        );        try {            ArrayUtils.toPrimitive(new Boolean[] {Boolean.TRUE, null});            fail();        } catch (NullPointerException ex) {}    }