METHOD_0 ( ) { org . apache . IDENT_0 . commons . testing . IDENT_0 . IDENT_1 request = new org . apache . IDENT_0 . commons . testing . IDENT_0 . METHOD_1 ( STRING_0 , "" , STRING_1 , ( ( ( ( com . IDENT_2 . IDENT_3 . commons . IDENT_4 . impl . IDENT_5 . IDENT_6 ) + "/" ) + ( com . IDENT_2 . IDENT_3 . commons . IDENT_4 . impl . IDENT_5 . IDENT_7 ) ) + STRING_2 ) , "" ) ; final boolean result = servlet . METHOD_2 ( request ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( org . apache . IDENT_0 . api . IDENT_8 ) { final com . IDENT_9 . IDENT_10 . IDENT_11 . api . IDENT_12 IDENT_13 = request . METHOD_3 ( ) . METHOD_4 ( com . IDENT_9 . IDENT_10 . IDENT_11 . api . IDENT_12 . class ) ; final org . apache . IDENT_0 . api . resource . IDENT_14 resource = request . getResource ( ) ; if ( ( org . apache . commons . lang . IDENT_15 . isEmpty ( this . IDENT_16 ) ) || ( ! ( org . apache . commons . lang . StringUtils . METHOD_5 ( request . getResource ( ) . getPath ( ) , this . IDENT_16 ) ) ) ) { return false ; } if ( this . METHOD_6 ( request ) . contains ( com . IDENT_2 . IDENT_3 . commons . IDENT_11 . IDENT_17 . impl . IDENT_18 . IDENT_19 ) ) { return false ; } if ( ( IDENT_13 . METHOD_7 ( request . getResource ( ) ) ) == null ) { return false ; } final javax . jcr . Node node = request . getResource ( ) . METHOD_4 ( javax . jcr . Node . class ) ; if ( node != null ) { try { if ( ( ( node . METHOD_8 ( IDENT_20 . IDENT_21 ) ) || ( node . METHOD_8 ( STRING_3 ) ) ) || ( IDENT_22 . IDENT_23 . equals ( node . getName ( ) ) ) ) { return false ; } } catch ( javax . jcr . IDENT_24 e ) { com . IDENT_2 . IDENT_3 . commons . IDENT_11 . IDENT_17 . impl . IDENT_18 . log . error ( ( STRING_4 + STRING_5 ) , e ) ; return false ; } } if ( org . apache . commons . collections . IDENT_25 . METHOD_9 ( this . IDENT_26 ) ) { for ( final java . util . regex . IDENT_27 pattern : this . IDENT_26 ) { final java . util . regex . IDENT_28 matcher = pattern . matcher ( resource . METHOD_10 ( ) ) ; if ( matcher . matches ( ) ) { return true ; } } return false ; } return true ; }
org . junit . Assert . assertTrue ( result )