t1.addToTable2Array(t2);
assertEquals(1, t1.getTable2Array().size());
assertSame(t1, t2.getTable1());
// do it again to make sure action can handle series of changes
ClientMtTable1 t3 = context.newObject(ClientMtTable1.class);
ClientMtTable2 t4 = context.newObject(ClientMtTable2.class);
t3.addToTable2Array(t4);
assertEquals(1, t3.getTable2Array().size());
assertSame(t3, t4.getTable1());