METHOD_0 ( ) { io . IDENT_0 . IDENT_1 . api . IDENT_2 request = mock ( io . IDENT_0 . IDENT_1 . api . IDENT_2 . class ) ; io . IDENT_0 . IDENT_1 . security . core . IDENT_3 IDENT_4 = mock ( io . IDENT_0 . IDENT_1 . security . core . IDENT_3 . class ) ; when ( IDENT_4 . name ( ) ) . thenReturn ( STRING_0 ) ; when ( IDENT_4 . METHOD_1 ( request ) ) . thenReturn ( true ) ; when ( IDENT_4 . order ( ) ) . thenReturn ( 1000 ) ; io . IDENT_0 . IDENT_1 . security . core . IDENT_3 IDENT_5 = mock ( io . IDENT_0 . IDENT_1 . security . core . IDENT_3 . class ) ; when ( IDENT_5 . name ( ) ) . thenReturn ( STRING_1 ) ; when ( IDENT_5 . order ( ) ) . thenReturn ( INT_0 ) ; when ( IDENT_6 . METHOD_2 ( ) ) . thenReturn ( java . util . Arrays . asList ( IDENT_4 , IDENT_5 ) ) ; IDENT_7 . METHOD_3 ( ) ; io . IDENT_0 . IDENT_1 . security . core . IDENT_3 IDENT_8 = IDENT_7 . resolve ( request ) ; "<AssertPlaceHolder>" ; } resolve ( io . IDENT_0 . IDENT_1 . api . IDENT_2 ) { for ( io . IDENT_0 . IDENT_1 . security . core . IDENT_3 IDENT_8 : IDENT_9 ) { if ( IDENT_8 . METHOD_1 ( request ) ) { return IDENT_8 ; } } return null ; }
org . junit . Assert . assertEquals ( IDENT_4 , IDENT_8 )