METHOD_0 ( ) { org . IDENT_0 . service . IDENT_1 . repository . IDENT_2 IDENT_3 = METHOD_1 ( STRING_0 ) ; java . lang . String IDENT_4 = org . IDENT_0 . module . IDENT_5 . test . util . IDENT_6 . METHOD_2 ( ) ; when ( IDENT_7 . METHOD_3 ( ) ) . thenReturn ( asList ( IDENT_8 ) ) ; when ( IDENT_8 . process ( IDENT_3 , IDENT_4 ) ) . thenReturn ( IDENT_9 . IDENT_10 ) ; org . IDENT_0 . service . IDENT_1 . security . IDENT_9 result = IDENT_11 . METHOD_4 ( IDENT_3 , IDENT_4 ) ; "<AssertPlaceHolder>" ; verify ( IDENT_8 ) . process ( IDENT_3 , IDENT_4 ) ; verify ( IDENT_11 ) . METHOD_5 ( IDENT_3 , IDENT_4 ) ; } METHOD_4 ( org . IDENT_0 . service . IDENT_1 . repository . IDENT_2 , java . lang . String ) { org . IDENT_0 . service . IDENT_1 . security . IDENT_9 result = org . IDENT_0 . service . IDENT_1 . security . IDENT_9 . IDENT_10 ; if ( IDENT_12 . exists ( IDENT_3 ) ) { java . util . List < org . IDENT_0 . repo . security . IDENT_13 . processor . IDENT_14 > IDENT_15 = IDENT_16 . METHOD_3 ( ) ; for ( org . IDENT_0 . repo . security . IDENT_13 . processor . IDENT_14 IDENT_17 : IDENT_15 ) { result = IDENT_17 . process ( IDENT_3 , IDENT_4 ) ; if ( IDENT_9 . IDENT_18 . equals ( result ) ) { return result ; } } result = METHOD_5 ( IDENT_3 , IDENT_4 ) ; java . util . List < org . IDENT_0 . repo . security . IDENT_13 . processor . IDENT_19 > IDENT_20 = IDENT_16 . METHOD_6 ( ) ; for ( org . IDENT_0 . repo . security . IDENT_13 . processor . IDENT_19 IDENT_21 : IDENT_20 ) { result = IDENT_21 . process ( result , IDENT_3 , IDENT_4 , this . IDENT_22 , this . IDENT_23 ) ; } } return result ; }
org . junit . Assert . assertEquals ( IDENT_9 . IDENT_10 , result )