METHOD_0 ( ) { final com . IDENT_0 . IDENT_1 . entities . IDENT_2 entity = new com . IDENT_0 . IDENT_1 . entities . METHOD_1 ( ) ; entity . setName ( STRING_0 ) ; final 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 . entities . METHOD_1 IDENT_5 = com . IDENT_0 . IDENT_1 . IDENT_4 . em . METHOD_2 ( new com . IDENT_0 . IDENT_1 . IDENT_6 < com . IDENT_0 . IDENT_1 . entities . METHOD_1 > ( ) { @ com . IDENT_0 . IDENT_1 . Override public com . IDENT_0 . IDENT_1 . entities . METHOD_1 execute ( com . IDENT_0 . IDENT_1 . IDENT_7 transaction ) { com . IDENT_0 . IDENT_1 . entities . METHOD_1 IDENT_8 = transaction . load ( com . IDENT_0 . IDENT_1 . entities . METHOD_1 . class , IDENT_3 . getId ( ) ) ; IDENT_8 . setName ( STRING_1 ) ; IDENT_8 = transaction . update ( IDENT_8 ) ; return IDENT_8 ; } } ) ; "<AssertPlaceHolder>" ; } getName ( ) { return name ; }
org . junit . Assert . assertTrue ( IDENT_5 . getName ( ) . equals ( STRING_1 ) )