METHOD_0 ( ) { { javax . persistence . IDENT_0 em = IDENT_1 . Context . METHOD_1 ( ) ; em . METHOD_2 ( ) . METHOD_3 ( ) ; IDENT_1 . IDENT_2 a = IDENT_1 . IDENT_2 . create ( new IDENT_1 . IDENT_2 . METHOD_4 ( STRING_0 , STRING_1 ) ) ; IDENT_1 . IDENT_3 b = IDENT_1 . IDENT_3 . create ( new IDENT_1 . IDENT_3 . METHOD_5 ( STRING_2 , STRING_3 ) ) ; IDENT_1 . IDENT_3 IDENT_4 = IDENT_1 . IDENT_3 . create ( new IDENT_1 . IDENT_3 . METHOD_5 ( STRING_4 , STRING_5 ) ) ; a . METHOD_6 ( ) . add ( b ) ; b . METHOD_7 ( a ) ; a . METHOD_6 ( ) . add ( IDENT_4 ) ; IDENT_4 . METHOD_7 ( a ) ; a . METHOD_8 ( em ) ; b . METHOD_8 ( em ) ; IDENT_4 . METHOD_8 ( em ) ; em . METHOD_2 ( ) . commit ( ) ; em . close ( ) ; } { javax . persistence . IDENT_0 em = IDENT_1 . Context . METHOD_1 ( ) ; em . METHOD_2 ( ) . METHOD_3 ( ) ; IDENT_1 . IDENT_2 IDENT_5 = em . find ( IDENT_1 . IDENT_2 . class , new IDENT_1 . IDENT_2 . METHOD_4 ( STRING_0 , STRING_1 ) ) ; "<AssertPlaceHolder>" ; em . METHOD_2 ( ) . commit ( ) ; em . close ( ) ; } } close ( ) { if ( ( IDENT_6 . size ( ) ) > 0 ) throw new java . lang . METHOD_9 ( ( ( IDENT_6 . size ( ) ) + STRING_6 ) ) ; return this ; }
org . junit . Assert . assertEquals ( 2 , IDENT_5 . METHOD_6 ( ) . size ( ) )