METHOD_0 ( ) { com . IDENT_0 . IDENT_1 . IDENT_2 batch = com . IDENT_0 . IDENT_1 . IDENT_3 . em . METHOD_1 ( ) ; com . IDENT_0 . IDENT_1 . entities . IDENT_4 entity = new com . IDENT_0 . IDENT_1 . entities . METHOD_2 ( ) ; entity . setName ( STRING_0 ) ; entity = com . IDENT_0 . IDENT_1 . IDENT_3 . em . insert ( entity ) ; entity = com . IDENT_0 . IDENT_1 . IDENT_3 . em . load ( com . IDENT_0 . IDENT_1 . entities . METHOD_2 . class , entity . getId ( ) ) ; entity . setName ( STRING_1 ) ; entity = batch . update ( entity ) ; batch . METHOD_3 ( ) ; entity = com . IDENT_0 . IDENT_1 . IDENT_3 . em . load ( com . IDENT_0 . IDENT_1 . entities . METHOD_2 . class , entity . getId ( ) ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( ) { return version ; }
org . junit . Assert . assertTrue ( ( ( entity . METHOD_4 ( ) ) == 1 ) )