METHOD_0 ( ) { when ( IDENT_0 . METHOD_1 ( IDENT_1 , IDENT_2 , IDENT_3 , context , IDENT_4 , IDENT_5 , null , headers , IDENT_6 ) ) . thenReturn ( IDENT_7 ) ; when ( IDENT_7 . getStatus ( ) ) . thenReturn ( Status . IDENT_8 ) ; when ( IDENT_7 . METHOD_2 ( ) ) . thenReturn ( IDENT_9 ) ; when ( IDENT_7 . METHOD_3 ( ) ) . thenReturn ( context ) ; "<AssertPlaceHolder>" ; } METHOD_0 ( com . IDENT_10 . IDENT_11 . IDENT_12 . IDENT_13 , com . IDENT_10 . IDENT_11 . IDENT_12 . IDENT_14 , com . IDENT_10 . IDENT_11 . IDENT_15 . IDENT_16 , com . IDENT_10 . IDENT_11 . IDENT_12 . Context , java . lang . Boolean , java . lang . Boolean , javax . ws . rs . core . IDENT_17 ) { try { com . IDENT_10 . IDENT_11 . api . IDENT_18 . LOGGER . debug ( ( STRING_0 + STRING_1 ) , IDENT_1 , IDENT_2 , IDENT_3 , context , IDENT_4 , IDENT_5 , headers ) ; com . IDENT_10 . IDENT_11 . IDENT_15 . IDENT_19 IDENT_7 = METHOD_0 ( IDENT_1 , IDENT_2 , IDENT_3 , context , IDENT_4 , IDENT_5 , null , headers , false ) ; return IDENT_20 . headers ( ) . entity ( METHOD_4 ( IDENT_7 ) ) . build ( ) ; } catch ( java . lang . Exception exception ) { com . IDENT_10 . IDENT_11 . api . IDENT_18 . LOGGER . error ( ( STRING_2 + STRING_3 ) , IDENT_2 , IDENT_3 , IDENT_1 , context , IDENT_4 , IDENT_5 , headers , exception ) ; throw exception ; } }
org . junit . Assert . assertNotNull ( resource . METHOD_0 ( IDENT_2 , IDENT_3 , IDENT_1 , context , IDENT_4 , IDENT_5 , headers ) )