assertEquals( false, list.remove( this.o6 ));
	public void testRemove() {		ArrayList list = new ArrayList( 3 );		list.add( this.o1 );		list.add( this.o2 );		list.add( this.o3 );		// illegal remove:		try {			list.remove( 3 );			fail("ArrayList.remove(3) should fail when the list has only [" + list.size() +"] entries.");		} catch (IndexOutOfBoundsException e) {			// okay, expected behaviour!		}		try {			list.remove( -1 );			fail("ArrayList.remove(-1) should fail.");		} catch (IndexOutOfBoundsException e) {			// okay, expected behaviour!		}		// now remove the third element:		Object o = list.remove( 2 );		assertEquals( this.o3, o );		list.add(this.o3);		boolean success = list.remove( this.o3 );		assertEquals( true, success );		list.add( this.o3 );		Object[] store = list.toArray();		for (int i = 0; i < store.length; i++) {			assertEquals( store[i], this.array1[i] );		}	}