METHOD_0 ( ) { javax . servlet . http . IDENT_0 request = org . mockito . Mockito . mock ( javax . servlet . http . IDENT_0 . class ) ; org . apache . IDENT_1 . plugin . util . IDENT_2 IDENT_3 = METHOD_1 ( ) ; java . lang . String IDENT_4 = STRING_0 ; java . lang . Long IDENT_5 = 1L ; java . lang . String IDENT_6 = "1" ; org . mockito . Mockito . when ( IDENT_7 . METHOD_2 ( IDENT_4 , request ) ) . thenReturn ( true ) ; org . mockito . Mockito . when ( IDENT_8 . METHOD_3 ( org . mockito . Mockito . anyString ( ) , org . mockito . Mockito . METHOD_4 ( ) , org . mockito . Mockito . METHOD_5 ( ) ) ) . thenReturn ( METHOD_1 ) ; org . mockito . Mockito . when ( IDENT_9 . METHOD_6 ( IDENT_4 ) ) . thenReturn ( null ) ; org . apache . IDENT_1 . plugin . util . IDENT_2 IDENT_10 = IDENT_11 . METHOD_3 ( IDENT_4 , IDENT_5 , 0L , IDENT_6 , "" , "" , true , request ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( java . lang . String , java . lang . Long , java . lang . Long , java . lang . String , java . lang . String , java . lang . String , java . lang . Boolean , javax . servlet . http . IDENT_0 ) { if ( org . apache . IDENT_1 . rest . IDENT_12 . LOG . METHOD_7 ( ) ) { org . apache . IDENT_1 . rest . IDENT_12 . LOG . debug ( ( ( ( ( ( ( ( ( ( ( ( ( STRING_1 + IDENT_4 ) + STRING_2 ) + IDENT_5 ) + STRING_2 ) + IDENT_13 ) + STRING_2 ) + IDENT_6 ) + STRING_2 ) + IDENT_14 ) + STRING_2 ) + IDENT_15 ) + STRING_3 ) ) ; } org . apache . IDENT_1 . plugin . util . IDENT_2 ret = null ; int IDENT_16 = javax . servlet . http . IDENT_17 . IDENT_18 ; java . lang . String IDENT_19 = null ; org . apache . IDENT_1 . plugin . util . IDENT_20 IDENT_21 = null ; java . lang . Long IDENT_22 = null ; boolean isValid = false ; try { isValid = IDENT_7 . METHOD_2 ( IDENT_4 , request ) ; } catch ( javax . ws . rs . IDENT_23 IDENT_24 ) { IDENT_16 = IDENT_24 . METHOD_8 ( ) . getStatus ( ) ; IDENT_19 = IDENT_24 . METHOD_8 ( ) . METHOD_9 ( ) . toString ( ) ; } catch ( java . lang . Exception e ) { IDENT_16 = javax . servlet . http . IDENT_17 . IDENT_25 ; IDENT_19 = e . getMessage ( ) ; } if ( isValid ) { if ( IDENT_5 == null ) { IDENT_5 = java . lang . Long . valueOf ( ( - 1 ) ) ; } try { if ( org . apache . IDENT_1 . plugin . util . IDENT_20 . METHOD_10 ( org . apache . IDENT_1 . rest . IDENT_12 . IDENT_26 ) ) { IDENT_21 = org . apache . IDENT_1 . plugin . util . IDENT_20 . METHOD_11 ( org . apache . IDENT_1 . rest . IDENT_12 . IDENT_26 , ( ( ( ( ( ( STRING_1 2 + IDENT_4 ) + STRING_4 ) + IDENT_5 ) + STRING_5 ) + IDENT_13 ) + STRING_3 ) ) ; } org . apache . IDENT_1 . plugin . util . IDENT_2 METHOD_1 = IDENT_8 . METHOD_3 ( IDENT_4 , IDENT_5 , ( ! IDENT_15 ) ) ; if ( METHOD_1 == null ) { IDENT_22 = IDENT_5 ; IDENT_16 = javax . servlet . http . IDENT_17 . IDENT_27 ; IDENT_19 = STRING_6 ; } else { java . util . Map < java . lang . String , org . apache . IDENT_1 . plugin . model . IDENT_28 . IDENT_29 > IDENT_30 = IDENT_9 . METHOD_6 ( IDENT_4 ) ; org . apache . IDENT_1 . plugin . util . IDENT_2 IDENT_31 = METHOD_12 ( METHOD_1 , IDENT_30 ) ; IDENT_22 = IDENT_31 . METHOD_13 ( ) ; if ( ( IDENT_5 == ( - 1L ) ) || ( ! IDENT_15 ) ) { ret = METHOD_14 ( IDENT_31 ) ; } else { ret = IDENT_31 ; } IDENT_16 = javax . servlet . http . IDENT_17 . IDENT_18 ; IDENT_19 = ( ( STRING_7 + ( ( ret . METHOD_15 ( ) ) != null ? ret . METHOD_15 ( ) . size ( ) : ( ret . METHOD_16 ( ) ) != null ? ret . METHOD_16 ( ) . size ( ) : 0 ) ) + STRING_8 ) + ( ret . METHOD_13 ( ) ) ; } } catch ( java . lang . Throwable IDENT_32 ) { org . apache . IDENT_1 . rest . IDENT_12 . LOG . error ( ( ( ( ( ( ( STRING_9 + IDENT_4 ) + STRING_2 ) + IDENT_5 ) + STRING_2 ) + IDENT_13 ) + STRING_10 ) , IDENT_32 ) ; IDENT_16 = javax . servlet . http . IDENT_17 . IDENT_25 ; IDENT_19 = IDENT_32 . getMessage ( ) ; } finally { METHOD_17 ( IDENT_4 , IDENT_5 , IDENT_6 , IDENT_16 , IDENT_14 , IDENT_33 , request ) ; org . apache . IDENT_1 . plugin . util . IDENT_20 . log ( IDENT_21 ) ; } } IDENT_34 . METHOD_18 ( IDENT_4 , IDENT_6 , request , IDENT_35 . IDENT_36 , IDENT_22 , IDENT_5 , IDENT_13 , IDENT_16 ) ; if ( IDENT_16 != ( javax . servlet . http . IDENT_17 . IDENT_18 ) ) { boolean IDENT_37 = IDENT_16 != ( javax . servlet . http . IDENT_17 . IDENT_27 ) ; throw IDENT_38 . METHOD_19 ( IDENT_16 , IDENT_19 , IDENT_37 ) ; } if ( org . apache . IDENT_1 . rest . IDENT_12 . LOG . METHOD_7 ( ) ) { org . apache . IDENT_1 . rest . IDENT_12 . LOG . debug ( ( ( ( ( ( ( ( ( ( ( ( ( ( STRING_1 0 + IDENT_4 ) + STRING_2 ) + IDENT_5 ) + STRING_2 ) + IDENT_13 ) + STRING_2 ) + IDENT_6 ) + STRING_2 ) + IDENT_14 ) + STRING_2 ) + IDENT_15 ) + STRING_1 1 ) + ( ( ret == null ) || ( ( ret . METHOD_15 ( ) ) == null ) ? 0 : ret . METHOD_15 ( ) . size ( ) ) ) ) ; } return ret ; }
org . junit . Assert . assertNotNull ( IDENT_10 )