METHOD_0 ( ) { org . IDENT_0 . IDENT_1 . model . IDENT_2 client = METHOD_1 ( STRING_0 ) ; final java . lang . String uri = STRING_1 ; request . METHOD_2 ( uri ) ; client . METHOD_3 ( java . util . Arrays . asList ( uri ) ) ; final java . lang . String IDENT_3 = validator . METHOD_4 ( request , IDENT_4 . IDENT_5 , client ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( org . IDENT_0 . IDENT_1 . model . IDENT_6 , java . lang . String , org . IDENT_0 . IDENT_1 . model . IDENT_2 ) { java . util . List < java . lang . String > IDENT_7 = client . METHOD_5 ( ) ; java . lang . String IDENT_8 = IDENT_9 . METHOD_6 ( ) ; if ( org . apache . commons . lang . StringUtils . METHOD_7 ( IDENT_8 ) ) { if ( IDENT_10 . equals ( org . IDENT_0 . IDENT_1 . auth . IDENT_5 ) ) { throw new org . IDENT_0 . IDENT_1 . auth . METHOD_8 ( IDENT_11 ) ; } else if ( org . apache . commons . collections . IDENT_12 . isEmpty ( IDENT_7 ) ) { throw new org . IDENT_0 . IDENT_1 . auth . METHOD_8 ( IDENT_13 ) ; } else { return IDENT_7 . get ( 0 ) ; } } else if ( ! ( org . IDENT_0 . IDENT_1 . auth . IDENT_14 . METHOD_9 ( IDENT_8 ) ) ) { throw new org . IDENT_0 . IDENT_1 . auth . METHOD_8 ( IDENT_15 ) ; } else if ( IDENT_8 . contains ( STRING_2 ) ) { throw new org . IDENT_0 . IDENT_1 . auth . METHOD_8 ( IDENT_16 ) ; } else if ( org . apache . commons . collections . IDENT_12 . METHOD_10 ( IDENT_7 ) ) { boolean match = false ; for ( java . lang . String uri : IDENT_7 ) { if ( IDENT_8 . startsWith ( uri ) ) { match = true ; break ; } } if ( ! match ) { IDENT_9 . METHOD_2 ( IDENT_7 . get ( 0 ) ) ; throw new org . IDENT_0 . IDENT_1 . auth . METHOD_8 ( IDENT_17 ) ; } } return IDENT_8 ; }
org . junit . Assert . assertEquals ( uri , IDENT_3 )