METHOD_0 ( ) { org . mockito . Mockito . when ( request . METHOD_1 ( ) ) . thenReturn ( STRING_0 ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( javax . servlet . http . IDENT_0 ) { for ( final java . lang . String header : com . cloud . api . IDENT_1 . IDENT_2 ) { final java . lang . String IDENT_3 = com . cloud . api . IDENT_1 . METHOD_3 ( request . METHOD_4 ( header ) ) ; if ( IDENT_3 != null ) { return IDENT_3 ; } } return request . METHOD_1 ( ) ; }
org . junit . Assert . assertEquals ( STRING_0 , com . cloud . api . IDENT_1 . METHOD_2 ( request ) )