METHOD_0 ( ) { when ( IDENT_0 . containsKey ( STRING_0 ) ) . thenReturn ( true ) ; when ( IDENT_1 . METHOD_1 ( any ( User . IDENT_2 . class ) , any ( IDENT_3 . IDENT_4 . class ) , any ( com . IDENT_5 . IDENT_6 . IDENT_7 . IDENT_8 . IDENT_9 . class ) , any ( com . IDENT_5 . IDENT_6 . IDENT_7 . Context . class ) , any ( com . IDENT_5 . IDENT_6 . IDENT_7 . IDENT_8 . IDENT_9 . class ) , METHOD_2 ( ) ) ) . thenReturn ( IDENT_10 ) ; when ( IDENT_10 . getStatus ( ) ) . thenReturn ( Status . IDENT_11 ) ; when ( IDENT_10 . METHOD_3 ( ) ) . thenReturn ( IDENT_12 ) ; when ( IDENT_10 . METHOD_4 ( ) ) . thenReturn ( context ) ; "<AssertPlaceHolder>" ; } METHOD_5 ( com . IDENT_5 . IDENT_6 . IDENT_7 . IDENT_13 , com . IDENT_5 . IDENT_6 . IDENT_7 . IDENT_14 , com . IDENT_5 . IDENT_6 . IDENT_15 . IDENT_16 , java . util . Map , com . IDENT_5 . IDENT_6 . IDENT_7 . Context ) { try { com . IDENT_5 . IDENT_6 . api . IDENT_17 . LOGGER . debug ( ( STRING_1 + STRING_2 ) , IDENT_18 , IDENT_19 , IDENT_20 , context , IDENT_0 ) ; if ( IDENT_0 == null ) { throw new java . lang . IllegalArgumentException ( STRING_3 ) ; } com . IDENT_5 . IDENT_6 . IDENT_7 . IDENT_8 . IDENT_9 IDENT_21 ; boolean IDENT_22 ; if ( IDENT_0 . containsKey ( STRING_0 ) ) { java . lang . String IDENT_23 = ( ( java . lang . String ) ( IDENT_0 . get ( STRING_0 ) ) ) ; IDENT_21 = ( IDENT_23 != null ) ? com . IDENT_5 . IDENT_6 . IDENT_7 . IDENT_8 . IDENT_9 . valueOf ( IDENT_23 ) : null ; } else { throw new java . lang . IllegalArgumentException ( STRING_4 ) ; } IDENT_22 = ( IDENT_0 . containsKey ( STRING_5 ) ) && ( ( boolean ) ( IDENT_0 . get ( STRING_5 ) ) ) ; com . IDENT_5 . IDENT_6 . IDENT_15 . IDENT_24 response = IDENT_1 . METHOD_1 ( IDENT_18 , IDENT_19 , IDENT_20 , context , IDENT_21 , IDENT_22 ) ; return IDENT_25 . headers ( ) . entity ( METHOD_6 ( response ) ) . build ( ) ; } catch ( java . lang . Exception exception ) { com . IDENT_5 . IDENT_6 . api . IDENT_17 . LOGGER . error ( ( STRING_6 + STRING_7 ) , IDENT_19 , IDENT_20 , IDENT_18 , IDENT_0 , context , exception ) ; throw exception ; } }
org . junit . Assert . assertNotNull ( resource . METHOD_5 ( IDENT_19 , IDENT_20 , IDENT_18 , IDENT_0 , context ) )