METHOD_0 ( ) { com . IDENT_0 . domain . IDENT_1 . entity . IDENT_2 IDENT_3 = com . IDENT_0 . test . IDENT_4 . METHOD_1 ( ) ; long IDENT_5 = INT_0 ; IDENT_3 . METHOD_2 ( IDENT_5 ) ; IDENT_6 . save ( IDENT_3 ) ; long actual = IDENT_6 . METHOD_3 ( ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( ) { return ( ( java . lang . Long ) ( this . METHOD_4 ( ) . execute ( new org . springframework . IDENT_7 . IDENT_8 . METHOD_5 ( ) { public java . lang . Object METHOD_6 ( org . hibernate . IDENT_9 session ) throws javax . persistence . IDENT_10 { java . lang . String IDENT_11 = STRING_0 + ( com . IDENT_0 . domain . IDENT_1 . entity . IDENT_2 . class . METHOD_7 ( ) ) ; org . hibernate . Query IDENT_12 = session . METHOD_8 ( IDENT_11 ) ; IDENT_12 . METHOD_9 ( true ) ; java . lang . Long count = ( ( java . lang . Long ) ( IDENT_12 . METHOD_10 ( ) ) ) ; return count == null ? 0 : count ; } } ) ) ) ; }
org . junit . Assert . assertEquals ( IDENT_5 , actual )