METHOD_0 ( ) { org . hibernate . IDENT_0 session = br . com . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_4 . factory . METHOD_1 ( ) ; org . hibernate . IDENT_5 transaction = session . METHOD_2 ( ) ; br . com . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_6 IDENT_7 = new br . com . IDENT_1 . IDENT_2 . IDENT_3 . METHOD_3 ( ) ; br . com . IDENT_1 . IDENT_2 . IDENT_8 . IDENT_9 IDENT_10 = new br . com . IDENT_1 . IDENT_2 . IDENT_8 . METHOD_4 ( STRING_0 ) ; IDENT_7 . METHOD_5 ( IDENT_10 ) ; session . save ( IDENT_7 ) ; transaction . commit ( ) ; session . METHOD_6 ( ) ; session . close ( ) ; session = br . com . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_4 . factory . METHOD_1 ( ) ; java . lang . Long id = IDENT_7 . getId ( ) ; br . com . IDENT_1 . IDENT_2 . IDENT_3 . METHOD_3 load = ( ( br . com . IDENT_1 . IDENT_2 . IDENT_3 . METHOD_3 ) ( session . load ( br . com . IDENT_1 . IDENT_2 . IDENT_3 . METHOD_3 . class , id ) ) ) ; "<AssertPlaceHolder>" ; } METHOD_7 ( ) { return IDENT_11 . METHOD_7 ( ) ; }
org . junit . Assert . assertEquals ( IDENT_10 , load . METHOD_7 ( ) )