METHOD_0 ( ) { org . jboss . IDENT_0 . mock . IDENT_1 req = org . jboss . IDENT_0 . mock . IDENT_1 . create ( STRING_0 , STRING_1 ) ; req . header ( STRING_2 , "value" ) ; java . lang . String result = org . IDENT_2 . common . IDENT_0 . auth . IDENT_3 . METHOD_1 ( req , STRING_2 ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( org . jboss . IDENT_0 . spi . IDENT_4 , java . lang . String ) { java . lang . String IDENT_5 = "" ; if ( ( request != null ) && ( name != null ) ) { java . util . List < java . lang . String > header = null ; javax . ws . rs . core . IDENT_6 headers = request . METHOD_2 ( ) ; for ( java . lang . String key : headers . METHOD_3 ( ) . METHOD_4 ( ) ) { if ( key . equalsIgnoreCase ( name ) ) { header = headers . METHOD_5 ( key ) ; break ; } } if ( ( null != header ) && ( ( header . size ( ) ) > 0 ) ) { IDENT_5 = header . get ( 0 ) ; } } return IDENT_5 ; }
org . junit . Assert . assertEquals ( "value" , result )