METHOD_0 ( ) { when ( IDENT_0 . METHOD_1 ( org . IDENT_1 . IDENT_2 . rest . service . IDENT_3 . IDENT_4 ) ) . thenReturn ( null ) ; when ( IDENT_0 . METHOD_2 ( any ( org . IDENT_1 . IDENT_2 . rest . dao . IDENT_5 . class ) ) ) . thenReturn ( org . IDENT_1 . IDENT_2 . rest . service . IDENT_3 . IDENT_6 ) ; org . IDENT_1 . IDENT_2 . rest . resource . IDENT_7 . IDENT_8 IDENT_7 = new org . IDENT_1 . IDENT_2 . rest . resource . IDENT_7 . METHOD_3 ( ) ; IDENT_7 . METHOD_4 ( org . IDENT_1 . IDENT_2 . rest . service . IDENT_3 . IDENT_4 ) ; IDENT_7 . METHOD_5 ( org . IDENT_1 . IDENT_2 . rest . service . IDENT_3 . IDENT_9 ) ; java . lang . Long METHOD_2 = IDENT_10 . METHOD_2 ( IDENT_7 ) ; verify ( IDENT_0 ) . METHOD_1 ( org . IDENT_1 . IDENT_2 . rest . service . IDENT_3 . IDENT_4 ) ; verify ( IDENT_0 , times ( 1 ) ) . METHOD_1 ( org . IDENT_1 . IDENT_2 . rest . service . IDENT_3 . IDENT_4 ) ; verify ( IDENT_0 , times ( 1 ) ) . METHOD_1 ( eq ( org . IDENT_1 . IDENT_2 . rest . service . IDENT_3 . IDENT_4 ) ) ; verify ( IDENT_0 , times ( 1 ) ) . METHOD_1 ( anyString ( ) ) ; verify ( IDENT_0 , METHOD_6 ( ) ) . METHOD_1 ( org . IDENT_1 . IDENT_2 . rest . service . IDENT_3 . IDENT_4 ) ; verify ( IDENT_0 , METHOD_7 ( 1 ) ) . METHOD_1 ( org . IDENT_1 . IDENT_2 . rest . service . IDENT_3 . IDENT_4 ) ; verify ( IDENT_0 , times ( 1 ) ) . METHOD_2 ( any ( org . IDENT_1 . IDENT_2 . rest . dao . IDENT_5 . class ) ) ; verify ( IDENT_0 , METHOD_8 ( ) ) . METHOD_9 ( METHOD_10 ( ) ) ; "<AssertPlaceHolder>" ; } METHOD_9 ( java . lang . Long ) { try { java . lang . String IDENT_11 = STRING_0 ; javax . persistence . IDENT_12 < org . IDENT_1 . IDENT_2 . rest . dao . IDENT_5 > query = IDENT_13 . METHOD_11 ( IDENT_11 , org . IDENT_1 . IDENT_2 . rest . dao . IDENT_5 . class ) ; query . METHOD_12 ( 1 , id ) ; return query . METHOD_13 ( ) ; } catch ( javax . persistence . IDENT_14 e ) { return null ; } }
org . junit . Assert . assertTrue ( ( METHOD_2 == ( org . IDENT_1 . IDENT_2 . rest . service . IDENT_3 . IDENT_6 ) ) )