METHOD_0 ( ) { org . apache . IDENT_0 . plugin . model . IDENT_1 policy = METHOD_1 ( org . apache . IDENT_0 . rest . IDENT_2 . IDENT_3 ) ; org . apache . IDENT_0 . plugin . model . IDENT_4 service = METHOD_2 ( org . apache . IDENT_0 . rest . IDENT_2 . IDENT_3 ) ; org . apache . IDENT_0 . view . IDENT_5 IDENT_6 = METHOD_3 ( policy , service ) ; org . apache . IDENT_0 . plugin . util . IDENT_7 IDENT_8 = new org . apache . IDENT_0 . plugin . util . METHOD_4 ( ) ; IDENT_8 . METHOD_5 ( null ) ; IDENT_8 . METHOD_6 ( true ) ; IDENT_8 . METHOD_7 ( true ) ; IDENT_8 . METHOD_8 ( STRING_0 ) ; IDENT_8 . METHOD_9 ( true ) ; javax . ws . rs . IDENT_9 IDENT_10 = new javax . ws . rs . METHOD_10 ( ) ; org . mockito . Mockito . when ( IDENT_11 . METHOD_11 ( METHOD_3 ) ) . thenReturn ( IDENT_8 ) ; try { org . mockito . Mockito . when ( IDENT_12 . METHOD_12 ( METHOD_3 . METHOD_13 ( ) , IDENT_8 , request ) ) . METHOD_14 ( IDENT_10 ) ; } catch ( java . lang . Exception e ) { org . junit . Assert . fail ( ( STRING_1 + ( e . getMessage ( ) ) ) ) ; } try { IDENT_13 . METHOD_15 ( request , METHOD_3 ) ; org . junit . Assert . fail ( STRING_2 ) ; } catch ( javax . ws . rs . METHOD_10 e ) { "<AssertPlaceHolder>" ; } org . mockito . Mockito . verify ( IDENT_11 ) . METHOD_11 ( METHOD_3 ) ; try { org . mockito . Mockito . verify ( IDENT_12 ) . METHOD_12 ( METHOD_3 . METHOD_13 ( ) , IDENT_8 , request ) ; } catch ( java . lang . Exception e ) { org . junit . Assert . fail ( ( STRING_1 + ( e . getMessage ( ) ) ) ) ; } } METHOD_15 ( javax . servlet . http . IDENT_14 , org . apache . IDENT_0 . rest . IDENT_5 ) { org . apache . IDENT_0 . admin . client . IDENT_15 . IDENT_16 ret = null ; if ( org . apache . IDENT_0 . rest . IDENT_17 . logger . METHOD_16 ( ) ) { org . apache . IDENT_0 . rest . IDENT_17 . logger . debug ( ( ( STRING_3 + METHOD_3 ) + STRING_4 ) ) ; } if ( METHOD_3 != null ) { java . lang . String IDENT_18 = METHOD_3 . METHOD_13 ( ) ; org . apache . IDENT_0 . plugin . util . METHOD_4 IDENT_19 = IDENT_11 . METHOD_11 ( METHOD_3 ) ; try { ret = IDENT_12 . METHOD_12 ( IDENT_18 , IDENT_19 , request ) ; } catch ( javax . ws . rs . METHOD_10 IDENT_20 ) { throw IDENT_20 ; } catch ( java . lang . Throwable e ) { org . apache . IDENT_0 . rest . IDENT_17 . logger . error ( ( ( ( javax . servlet . http . IDENT_21 . IDENT_22 ) + STRING_5 ) + METHOD_3 ) , e ) ; throw IDENT_23 . METHOD_17 ( ( ( ( STRING_6 + METHOD_3 ) + STRING_7 ) + ( e . getMessage ( ) ) ) ) ; } } else { org . apache . IDENT_0 . rest . IDENT_17 . logger . error ( ( ( javax . servlet . http . IDENT_21 . IDENT_22 ) + STRING_8 ) ) ; throw IDENT_23 . METHOD_17 ( STRING_8 ) ; } if ( org . apache . IDENT_0 . rest . IDENT_17 . logger . METHOD_16 ( ) ) { org . apache . IDENT_0 . rest . IDENT_17 . logger . debug ( ( ( STRING_9 + ret ) + STRING_4 ) ) ; } return METHOD_3 ; }
org . junit . Assert . assertTrue ( true )