transform ( ) { java . util . HashMap < java . lang . String , java . io . IDENT_0 > hash = new java . util . HashMap < java . lang . String , java . io . IDENT_0 > ( ) ; hash . put ( STRING_0 , "value" ) ; org . IDENT_1 . server . action . request . IDENT_2 . IDENT_3 IDENT_4 = new org . IDENT_1 . server . action . request . IDENT_2 . METHOD_0 ( STRING_0 ) ; org . IDENT_1 . commons . IDENT_5 . context . service . IDENT_6 IDENT_7 = new org . IDENT_1 . commons . IDENT_5 . context . service . METHOD_1 ( hash , null ) ; "<AssertPlaceHolder>" ; } transform ( java . util . List ) { java . util . List < java . lang . String > IDENT_8 = new java . util . ArrayList < java . lang . String > ( ) ; java . util . List < java . lang . String > IDENT_9 = new java . util . ArrayList < java . lang . String > ( ) ; for ( int i = 0 ; i < ( IDENT_10 . size ( ) ) ; i ++ ) { org . IDENT_1 . server . domain . stream . IDENT_11 . IDENT_12 type = IDENT_10 . get ( i ) . METHOD_2 ( ) ; switch ( type ) { case IDENT_13 : IDENT_8 . add ( IDENT_10 . get ( i ) . METHOD_3 ( ) ) ; break ; case IDENT_14 : IDENT_9 . add ( IDENT_10 . get ( i ) . METHOD_3 ( ) ) ; break ; default : throw new java . lang . RuntimeException ( STRING_1 ) ; } } java . util . List < org . IDENT_1 . server . search . IDENT_15 . IDENT_16 > IDENT_17 = null ; if ( ( IDENT_8 . size ( ) ) > 0 ) { IDENT_17 = IDENT_18 . execute ( IDENT_8 ) ; } java . util . List < org . IDENT_1 . server . search . IDENT_15 . IDENT_19 > IDENT_20 = null ; if ( ( IDENT_9 . size ( ) ) > 0 ) { IDENT_20 = IDENT_21 . execute ( IDENT_9 ) ; } final java . util . List < org . IDENT_1 . server . domain . stream . IDENT_22 > filters = new java . util . ArrayList < org . IDENT_1 . server . domain . stream . IDENT_22 > ( ) ; if ( IDENT_17 != null ) { for ( org . IDENT_1 . server . search . IDENT_15 . IDENT_16 person : IDENT_17 ) { final java . lang . String name = person . METHOD_4 ( ) ; final java . lang . String request = ( STRING_2 + ( person . METHOD_5 ( ) ) ) + STRING_3 ; filters . add ( new org . IDENT_1 . server . domain . stream . METHOD_6 ( person . METHOD_7 ( ) , name , request , person . METHOD_8 ( ) , person . METHOD_9 ( ) ) ) ; } } if ( IDENT_20 != null ) { for ( org . IDENT_1 . server . search . IDENT_15 . IDENT_19 group : IDENT_20 ) { final java . lang . String name = group . getName ( ) ; final java . lang . String request = ( STRING_4 + ( group . METHOD_10 ( ) ) ) + STRING_3 ; filters . add ( new org . IDENT_1 . server . domain . stream . METHOD_6 ( group . METHOD_7 ( ) , name , request , group . METHOD_8 ( ) , group . METHOD_9 ( ) ) ) ; } } return filters ; }
org . junit . Assert . assertEquals ( "value" , IDENT_4 . transform ( IDENT_7 ) )