METHOD_0 ( ) { java . lang . String regex = STRING_0 ; java . util . List < javax . servlet . http . IDENT_0 > expResult = new java . util . ArrayList < javax . servlet . http . IDENT_0 > ( ) ; expResult . add ( com . IDENT_1 . IDENT_2 . commons . util . IDENT_3 . IDENT_4 ) ; expResult . add ( com . IDENT_1 . IDENT_2 . commons . util . IDENT_3 . IDENT_5 ) ; java . util . List < javax . servlet . http . IDENT_0 > result = com . IDENT_1 . IDENT_2 . commons . util . IDENT_6 . METHOD_1 ( com . IDENT_1 . IDENT_2 . commons . util . IDENT_3 . request , regex ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( javax . servlet . http . IDENT_7 , java . lang . String ) { final java . util . ArrayList < javax . servlet . http . IDENT_0 > IDENT_8 = new java . util . ArrayList < javax . servlet . http . IDENT_0 > ( ) ; if ( org . apache . commons . lang . StringUtils . METHOD_2 ( regex ) ) { return IDENT_8 ; } final javax . servlet . http . IDENT_0 [ ] IDENT_9 = request . METHOD_1 ( ) ; if ( IDENT_9 == null ) { return java . util . Collections . emptyList ( ) ; } final java . util . regex . IDENT_10 p = java . util . regex . IDENT_10 . METHOD_3 ( regex ) ; for ( final javax . servlet . http . IDENT_0 IDENT_11 : IDENT_9 ) { final java . util . regex . IDENT_12 m = p . matcher ( IDENT_11 . getName ( ) ) ; if ( m . matches ( ) ) { IDENT_8 . add ( IDENT_11 ) ; } } return IDENT_8 ; }
org . junit . Assert . assertEquals ( expResult , result )