METHOD_0 ( ) { org . mockito . IDENT_0 < com . IDENT_1 . IDENT_2 . IDENT_3 . persistence . entities . IDENT_4 > IDENT_5 = org . mockito . IDENT_0 . METHOD_1 ( com . IDENT_1 . IDENT_2 . IDENT_3 . persistence . entities . IDENT_4 . class ) ; METHOD_2 ( this . IDENT_6 . METHOD_3 ( com . IDENT_1 . IDENT_2 . IDENT_3 . service . impl . IDENT_7 . IDENT_8 ) ) . METHOD_4 ( IDENT_9 ) ; this . IDENT_10 . METHOD_5 ( com . IDENT_1 . IDENT_2 . IDENT_3 . service . impl . IDENT_7 . IDENT_8 ) ; verify ( IDENT_6 ) . METHOD_6 ( IDENT_5 . METHOD_7 ( ) ) ; "<AssertPlaceHolder>" ; METHOD_8 ( IDENT_6 ) . METHOD_9 ( ) . METHOD_3 ( com . IDENT_1 . IDENT_2 . IDENT_3 . service . impl . IDENT_7 . IDENT_8 ) ; METHOD_8 ( IDENT_6 ) . METHOD_9 ( ) . METHOD_6 ( IDENT_11 ) ; } METHOD_5 ( java . lang . Long ) { org . springframework . util . Assert . METHOD_10 ( id ) ; IDENT_12 entity = ( ( IDENT_12 ) ( this . IDENT_13 . METHOD_3 ( id ) ) ) ; if ( entity == null ) { throw new com . IDENT_1 . IDENT_2 . IDENT_3 . service . exception . METHOD_11 ( ) ; } entity . METHOD_12 ( true ) ; this . IDENT_13 . METHOD_6 ( entity ) ; }
org . junit . Assert . assertThat ( IDENT_11 , org . hamcrest . CoreMatchers . equalTo ( IDENT_5 . getValue ( ) ) )