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