METHOD_0 ( ) { java . lang . String [ ] list = new java . lang . String [ ] { STRING_0 , STRING_1 } ; java . util . List < org . xwiki . IDENT_0 . IDENT_1 > expected = new java . util . ArrayList < org . xwiki . IDENT_0 . IDENT_1 > ( ) ; expected . add ( IDENT_2 ) ; expected . add ( IDENT_3 ) ; expected . add ( IDENT_4 ) ; expected . add ( IDENT_5 ) ; expected . add ( IDENT_6 ) ; org . xwiki . IDENT_0 . IDENT_7 filter = new org . xwiki . IDENT_0 . internal . filter . METHOD_1 ( ) ; "<AssertPlaceHolder>" ; } filter ( java . util . List , java . lang . String [ ] ) { java . util . List < org . xwiki . IDENT_0 . IDENT_1 > results = new java . util . ArrayList < org . xwiki . IDENT_0 . IDENT_1 > ( ) ; results . addAll ( IDENT_8 ) ; if ( ( ( IDENT_9 . length ) > 0 ) && ( ! ( org . apache . commons . lang3 . StringUtils . METHOD_2 ( IDENT_9 [ 0 ] ) ) ) ) { java . util . Collections . METHOD_3 ( results , new org . xwiki . IDENT_0 . internal . filter . IDENT_10 . METHOD_4 ( IDENT_9 [ 0 ] ) ) ; } return results ; }
org . junit . Assert . assertEquals ( expected , filter . filter ( IDENT_8 , list ) )