METHOD_0 ( ) { javax . servlet . http . IDENT_0 request = org . mockito . Mockito . mock ( javax . servlet . http . IDENT_0 . class ) ; java . lang . String IDENT_1 = STRING_0 ; java . util . Set < java . lang . String > IDENT_2 = new java . util . HashSet < java . lang . String > ( ) ; IDENT_2 . add ( STRING_1 ) ; IDENT_2 . add ( STRING_2 ) ; IDENT_2 . add ( STRING_3 ) ; java . util . Set < java . lang . String > IDENT_3 = new java . util . HashSet < java . lang . String > ( ) ; IDENT_3 . add ( STRING_4 ) ; IDENT_3 . add ( STRING_5 ) ; IDENT_3 . add ( STRING_6 ) ; org . apache . IDENT_4 . plugin . util . IDENT_5 IDENT_6 = new org . apache . IDENT_4 . plugin . util . METHOD_1 ( ) ; IDENT_6 . METHOD_2 ( true ) ; IDENT_6 . METHOD_3 ( true ) ; IDENT_6 . METHOD_4 ( STRING_7 ) ; IDENT_6 . METHOD_5 ( IDENT_3 ) ; IDENT_6 . METHOD_6 ( IDENT_2 ) ; org . apache . IDENT_4 . admin . client . IDENT_7 . IDENT_8 IDENT_9 = IDENT_10 . METHOD_7 ( IDENT_1 , IDENT_6 , request ) ; "<AssertPlaceHolder>" ; } METHOD_7 ( java . lang . String , org . apache . IDENT_4 . plugin . util . METHOD_1 , javax . servlet . http . IDENT_0 ) { if ( org . apache . IDENT_4 . rest . IDENT_11 . LOG . METHOD_8 ( ) ) { org . apache . IDENT_4 . rest . IDENT_11 . LOG . debug ( ( ( ( ( STRING_8 + IDENT_1 ) + STRING_9 ) + IDENT_6 ) + STRING_10 ) ) ; } org . apache . IDENT_4 . admin . client . IDENT_7 . IDENT_8 ret = new org . apache . IDENT_4 . admin . client . IDENT_7 . METHOD_9 ( ) ; org . apache . IDENT_4 . plugin . util . IDENT_12 IDENT_13 = null ; if ( IDENT_6 != null ) { if ( IDENT_14 . METHOD_10 ( IDENT_1 , request ) ) { try { if ( org . apache . IDENT_4 . plugin . util . IDENT_12 . METHOD_11 ( org . apache . IDENT_4 . rest . IDENT_11 . IDENT_15 ) ) { IDENT_13 = org . apache . IDENT_4 . plugin . util . IDENT_12 . METHOD_12 ( org . apache . IDENT_4 . rest . IDENT_11 . IDENT_15 , ( ( STRING_11 + IDENT_1 ) + STRING_10 ) ) ; } METHOD_13 ( IDENT_6 ) ; java . lang . String IDENT_16 = IDENT_6 . METHOD_14 ( ) ; java . util . Set < java . lang . String > IDENT_17 = ( org . apache . commons . collections . IDENT_18 . METHOD_15 ( IDENT_6 . METHOD_16 ( ) ) ) ? IDENT_6 . METHOD_16 ( ) : IDENT_19 . METHOD_17 ( IDENT_16 ) ; org . apache . IDENT_4 . plugin . IDENT_20 . IDENT_21 resource = new org . apache . IDENT_4 . plugin . IDENT_20 . METHOD_18 ( org . apache . IDENT_4 . authorization . utils . IDENT_22 . METHOD_19 ( IDENT_6 . getResource ( ) ) ) ; org . apache . IDENT_4 . view . IDENT_23 IDENT_24 = IDENT_25 . METHOD_20 ( IDENT_16 ) ; if ( ( IDENT_24 . METHOD_21 ( ) . contains ( IDENT_26 . IDENT_27 ) ) || ( IDENT_24 . METHOD_21 ( ) . contains ( IDENT_26 . IDENT_28 ) ) ) { org . apache . IDENT_4 . view . IDENT_29 IDENT_30 = new org . apache . IDENT_4 . view . METHOD_22 ( ) ; IDENT_30 . METHOD_23 ( IDENT_31 . IDENT_32 ) ; IDENT_30 . METHOD_24 ( ( ( ( STRING_12 + STRING_13 ) + ( IDENT_24 . getId ( ) ) ) + STRING_14 ) ) ; throw IDENT_33 . METHOD_25 ( IDENT_30 ) ; } boolean IDENT_34 = METHOD_26 ( IDENT_1 , IDENT_16 , IDENT_17 , resource ) ; if ( ! IDENT_34 ) { throw IDENT_33 . METHOD_27 ( STRING_15 ) ; } org . apache . IDENT_4 . plugin . model . IDENT_35 policy = METHOD_28 ( IDENT_1 , resource , IDENT_16 ) ; if ( policy != null ) { boolean IDENT_36 = false ; IDENT_36 = org . apache . IDENT_4 . rest . IDENT_37 . METHOD_29 ( policy , IDENT_6 ) ; if ( IDENT_36 ) { policy . METHOD_30 ( IDENT_6 . METHOD_31 ( ) ) ; IDENT_38 . METHOD_32 ( policy ) ; } else { org . apache . IDENT_4 . rest . IDENT_11 . LOG . error ( STRING_9 0 ) ; throw new java . lang . Exception ( STRING_9 0 ) ; } } } catch ( javax . ws . rs . IDENT_39 IDENT_40 ) { throw IDENT_40 ; } catch ( java . lang . Throwable IDENT_40 ) { org . apache . IDENT_4 . rest . IDENT_11 . LOG . error ( ( ( ( ( STRING_16 + IDENT_1 ) + STRING_9 ) + IDENT_6 ) + STRING_17 ) , IDENT_40 ) ; throw IDENT_33 . METHOD_33 ( IDENT_40 . getMessage ( ) ) ; } finally { org . apache . IDENT_4 . plugin . util . IDENT_12 . log ( IDENT_13 ) ; } ret . METHOD_23 ( METHOD_9 . IDENT_41 ) ; } } if ( org . apache . IDENT_4 . rest . IDENT_11 . LOG . METHOD_8 ( ) ) { org . apache . IDENT_4 . rest . IDENT_11 . LOG . debug ( ( ( ( ( ( STRING_9 1 + IDENT_1 ) + STRING_9 ) + IDENT_6 ) + STRING_9 2 ) + ret ) ) ; } return ret ; }
org . junit . Assert . assertNotNull ( IDENT_9 )