assertEquals(7d, doubleArray[1]);
// Read array of Object types without length attribute
dec = new XMLDecoder(this.getClass().getResourceAsStream(
"/xml/Array_Object.xml"));
Object[] array = (Object[]) dec.readObject();
assertTrue((Boolean) array[0]);
assertEquals(new Short((short) 1), (Short) array[1]);
assertEquals(new Byte((byte) 2), (Byte) array[2]);
assertEquals(new Character('c'), (Character) array[3]);