test ( ) { final com . IDENT_0 . IDENT_1 . model . IDENT_2 IDENT_3 = IDENT_4 . execute ( new org . springframework . transaction . support . IDENT_5 < com . IDENT_0 . IDENT_1 . model . IDENT_2 > ( ) { @ com . IDENT_0 . IDENT_1 . IDENT_6 . Override public com . IDENT_0 . IDENT_1 . model . IDENT_2 METHOD_0 ( org . springframework . transaction . IDENT_7 status ) { com . IDENT_0 . IDENT_1 . model . IDENT_2 IDENT_3 = new com . IDENT_0 . IDENT_1 . model . METHOD_1 ( ) ; IDENT_3 . setId ( 1L ) ; IDENT_3 . setName ( STRING_0 ) ; IDENT_8 . METHOD_2 ( IDENT_3 ) ; return IDENT_3 ; } } ) ; IDENT_4 . execute ( new org . springframework . transaction . support . IDENT_5 < java . lang . IDENT_9 > ( ) { @ com . IDENT_0 . IDENT_1 . IDENT_6 . Override public com . IDENT_0 . IDENT_1 . IDENT_6 . IDENT_9 METHOD_0 ( org . springframework . transaction . IDENT_7 status ) { "<AssertPlaceHolder>" ; return null ; } } ) ; verify ( IDENT_10 . METHOD_3 ( ) , METHOD_4 ( ) ) . update ( 1 ) ; verify ( IDENT_10 . METHOD_3 ( ) , METHOD_4 ( ) ) . update ( 0 ) ; } getName ( ) { return name ; }
org . junit . Assert . assertEquals ( IDENT_3 . getName ( ) , IDENT_8 . find ( com . IDENT_0 . IDENT_1 . model . METHOD_1 . class , IDENT_3 . getId ( ) ) . getName ( ) )