METHOD_0 ( ) { com . IDENT_0 . IDENT_1 . entities . IDENT_2 entity = new com . IDENT_0 . IDENT_1 . entities . METHOD_1 ( ) ; entity . setName ( STRING_0 ) ; com . IDENT_0 . IDENT_1 . entities . METHOD_1 IDENT_3 = com . IDENT_0 . IDENT_1 . IDENT_4 . em . insert ( entity ) ; com . IDENT_0 . IDENT_1 . IDENT_5 transaction = com . IDENT_0 . IDENT_1 . IDENT_4 . em . METHOD_2 ( IDENT_6 . IDENT_7 ) ; try { com . IDENT_0 . IDENT_1 . entities . METHOD_1 IDENT_8 = transaction . load ( com . IDENT_0 . IDENT_1 . entities . METHOD_1 . class , IDENT_3 . getId ( ) ) ; "<AssertPlaceHolder>" ; transaction . commit ( ) ; } finally { if ( transaction . METHOD_3 ( ) ) { transaction . METHOD_4 ( ) ; } } } getId ( ) { return id ; }
org . junit . Assert . assertEquals ( IDENT_3 , IDENT_8 )