METHOD_0 ( ) { final long IDENT_0 = 0 ; org . hibernate . IDENT_1 session = sf . METHOD_1 ( ) ; org . hibernate . IDENT_2 tx = session . METHOD_2 ( ) ; session . save ( new com . IDENT_3 . hibernate . entity . METHOD_3 ( IDENT_0 , null , 0 , null ) ) ; tx . commit ( ) ; tx = session . METHOD_2 ( ) ; com . IDENT_3 . hibernate . entity . METHOD_3 IDENT_4 = ( ( com . IDENT_3 . hibernate . entity . METHOD_3 ) ( session . get ( com . IDENT_3 . hibernate . entity . METHOD_3 . class , IDENT_0 ) ) ) ; IDENT_4 . setName ( STRING_0 ) ; session . update ( IDENT_4 ) ; tx . commit ( ) ; session . close ( ) ; session = IDENT_5 . METHOD_1 ( ) ; com . IDENT_3 . hibernate . entity . METHOD_3 entity = ( ( com . IDENT_3 . hibernate . entity . METHOD_3 ) ( session . get ( com . IDENT_3 . hibernate . entity . METHOD_3 . class , IDENT_0 ) ) ) ; "<AssertPlaceHolder>" ; } get ( java . lang . Object , long ) { return delegate . get ( key , IDENT_6 ) ; }
org . junit . Assert . assertEquals ( STRING_0 , entity . getName ( ) )