METHOD_0 ( ) { final javax . ws . rs . core . Response r = resource . delete ( IDENT_0 , STRING_0 , STRING_1 , STRING_2 ) ; "<AssertPlaceHolder>" . METHOD_1 ( Status . IDENT_1 . getStatusCode ( ) ) ; } delete ( javax . ws . rs . core . IDENT_2 , com . IDENT_3 . IDENT_4 . auth . IDENT_5 , java . lang . String , java . lang . String ) { final com . IDENT_3 . IDENT_4 . auth . IDENT_6 session = IDENT_0 . METHOD_2 ( IDENT_7 , IDENT_8 ) ; final com . IDENT_3 . IDENT_4 . entities . Document doc = IDENT_9 . METHOD_3 ( session . METHOD_4 ( ) , name ) ; if ( doc == null ) { throw new javax . ws . rs . METHOD_5 ( javax . ws . rs . core . Response . Status . IDENT_10 ) ; } METHOD_6 ( request , doc ) ; IDENT_9 . delete ( doc ) ; return javax . ws . rs . core . Response . METHOD_7 ( ) . build ( ) ; }
org . junit . Assert . assertThat ( r . getStatus ( ) )