Object[] array2 = bcs.toArray(array1);
harness.check(array2 == array1);
// try array length 1 for zero children
array1 = new Object[1];
array2 = bcs.toArray(array1);
harness.check(array2 == array1);
harness.check(array2[0], null);
// try array length 0 for 1 child
BeanContextSupport child1 = new BeanContextSupport();