* Test multiple relation with default key.
*/
@Test
public void testMultipleRelationWithDefaultKey()
{
DefaultKeyChild child1 = new DefaultKeyChild();
child1.name = "Child One";
child1.save();
HashMap<String, String[]> params = new HashMap<String, String[]>();
params.put("parent.defaultKeyChildren._id", new String[] { child1._key().toString() });
Parent parent = new Parent();
parent = parent.edit("parent", params);
Assert.assertNotNull(parent.defaultKeyChildren);
Assert.assertEquals(1, parent.defaultKeyChildren.size());