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 filter = new org . apache . IDENT_1 . plugin . util . METHOD_1 ( ) ; filter . METHOD_2 ( METHOD_1 . IDENT_3 , STRING_0 ) ; filter . METHOD_2 ( METHOD_1 . IDENT_4 , STRING_1 ) ; org . mockito . Mockito . when ( IDENT_5 . METHOD_3 ( request , IDENT_6 . IDENT_7 ) ) . thenReturn ( filter ) ; java . lang . Long data = IDENT_8 . METHOD_4 ( request ) ; "<AssertPlaceHolder>" ; org . mockito . Mockito . verify ( IDENT_5 ) . METHOD_3 ( request , IDENT_6 . IDENT_7 ) ; } METHOD_4 ( javax . servlet . http . IDENT_0 ) { if ( org . apache . IDENT_1 . rest . IDENT_9 . LOG . METHOD_5 ( ) ) { org . apache . IDENT_1 . rest . IDENT_9 . LOG . debug ( STRING_2 ) ; } java . lang . Long ret = null ; org . apache . IDENT_1 . plugin . util . IDENT_10 IDENT_11 = null ; try { if ( org . apache . IDENT_1 . plugin . util . IDENT_10 . METHOD_6 ( org . apache . IDENT_1 . rest . IDENT_9 . IDENT_12 ) ) { IDENT_11 = org . apache . IDENT_1 . plugin . util . IDENT_10 . METHOD_7 ( org . apache . IDENT_1 . rest . IDENT_9 . IDENT_12 , STRING_3 ) ; } java . util . List < org . apache . IDENT_1 . plugin . model . IDENT_13 > IDENT_14 = METHOD_8 ( request ) . METHOD_8 ( ) ; IDENT_14 = METHOD_9 ( IDENT_14 ) ; ret = java . lang . Long . valueOf ( ( IDENT_14 == null ? 0 : IDENT_14 . size ( ) ) ) ; } catch ( javax . ws . rs . IDENT_15 IDENT_16 ) { throw IDENT_16 ; } catch ( java . lang . Throwable IDENT_16 ) { org . apache . IDENT_1 . rest . IDENT_9 . LOG . error ( STRING_4 , IDENT_16 ) ; throw IDENT_17 . METHOD_10 ( IDENT_16 . getMessage ( ) ) ; } finally { org . apache . IDENT_1 . plugin . util . IDENT_10 . log ( IDENT_11 ) ; } if ( org . apache . IDENT_1 . rest . IDENT_9 . LOG . METHOD_5 ( ) ) { org . apache . IDENT_1 . rest . IDENT_9 . LOG . debug ( ( STRING_5 + ret ) ) ; } return ret ; }
org . junit . Assert . assertNotNull ( data )