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_2 child = IDENT_1 . IDENT_2 . create ( new IDENT_1 . IDENT_2 . METHOD_4 ( STRING_2 , STRING_3 ) ) ; a . METHOD_5 ( ) . add ( child ) ; a . METHOD_6 ( a ) ; child . METHOD_6 ( a ) ; child . METHOD_5 ( ) . add ( child ) ; child . METHOD_6 ( child ) ; em . METHOD_7 ( a ) ; 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 a = 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_3 . size ( ) ) > 0 ) throw new java . lang . METHOD_8 ( ( ( IDENT_3 . size ( ) ) + STRING_4 ) ) ; return this ; }
org . junit . Assert . assertEquals ( 1 , a . METHOD_5 ( ) . size ( ) )