_testCohBeanRemoveA(int tx) test coherence relation one to one bidirectionnel,
getAHome().remove(a1)=>A1removed && B1.retreiveA()==null
Same as _testCohRemoveA except that the called remove method is on the bean
instead of the home.
public void
_testCohBeanRemoveB(int tx) test coherence relation one to one bidirectionnel,
B1.remove=>B1 removed && A1.retreiveB()==null
Same as _testCohRemoveB except that the called remove method is on the bean
instead of the home.
public void _testBasicGetEmpty(int tx) throws Exception(Code)
Check that the bean 'a3' has no relation.
_testBasicSetEmpty
public void _testBasicSetEmpty(int tx) throws Exception(Code)
Set a relation : a3.assignB("b3")
_testBasicSetEmptyNull
public void _testBasicSetEmptyNull(int tx) throws Exception(Code)
Set a relation to empty : a3.assignB(null)
_testCohAlreadyAssign
public void _testCohAlreadyAssign(int tx) throws Exception(Code)
test coherence relation one to one bidirectionnel,
A1.assignB(B3)=>A1.retreiveB()==B3 && B1.retreiveB()==null && B2.retreiveB()=null
_testCohBeanRemoveA
public void _testCohBeanRemoveA(int tx) throws Exception(Code)
test coherence relation one to one bidirectionnel,
getAHome().remove(a1)=>A1removed && B1.retreiveA()==null
Same as _testCohRemoveA except that the called remove method is on the bean
instead of the home.
_testCohBeanRemoveB
public void _testCohBeanRemoveB(int tx) throws Exception(Code)
test coherence relation one to one bidirectionnel,
B1.remove=>B1 removed && A1.retreiveB()==null
Same as _testCohRemoveB except that the called remove method is on the bean
instead of the home.
test coherence relation one to one bidirectionnel,
A1.assignB(B2) => A1.retreiveB()=B2 && B2.retreiveA()=A1 && B1.retreiveA()=null && A2.retreiveB()=null
_testCohWithoutRelation
public void _testCohWithoutRelation(int tx) throws Exception(Code)
test coherence relation one to one bidirectionnel,
A3.assignB(B3)=>A3.retreiveB()==B3 && B3.retreiveB()==A3