public class Issue179Test extends JDOTestCase {
public void testListRemoveByIndex() {
Issue179Parent p = new Issue179Parent();
p.setName("First Parent");
Issue179Child c1 = new Issue179Child();
c1.setName("Child 1");
p.getChildren().add(c1);
Issue179Child c2 = new Issue179Child();
c2.setName("Child 2");
p.getChildren().add(c2);
Issue179Child c3 = new Issue179Child();
c3.setName("Child 3");
p.getChildren().add(c3);
// Persist parent with 3 children
Object id = null;
beginTxn();