METHOD_0 ( ) { final org . apache . hc . IDENT_0 . http . impl . IDENT_1 . IDENT_2 IDENT_1 = new org . apache . hc . IDENT_0 . http . impl . IDENT_1 . METHOD_1 ( "name" , "value" ) ; final org . apache . hc . IDENT_0 . http . IDENT_1 . IDENT_3 IDENT_4 = new org . apache . hc . IDENT_0 . http . IDENT_1 . METHOD_2 ( STRING_0 , INT_0 , STRING_1 , false ) ; final org . apache . hc . IDENT_0 . http . IDENT_1 . IDENT_5 IDENT_6 = new org . apache . hc . IDENT_0 . http . impl . IDENT_1 . METHOD_3 ( ) ; IDENT_1 . METHOD_4 ( STRING_2 ) ; "<AssertPlaceHolder>" ; } match ( org . apache . hc . IDENT_0 . http . IDENT_1 . IDENT_7 , org . apache . hc . IDENT_0 . http . IDENT_1 . METHOD_2 ) { final java . lang . String host = IDENT_1 . METHOD_5 ( ) ; if ( host == null ) { return false ; } final int i = host . indexOf ( STRING_3 ) ; if ( i >= 0 ) { final java . lang . String domain = host . substring ( i ) ; if ( ! ( this . IDENT_8 . containsKey ( domain ) ) ) { if ( this . IDENT_9 . matches ( host ) ) { return false ; } } } else { if ( ! ( host . equalsIgnoreCase ( IDENT_4 . METHOD_6 ( ) ) ) ) { if ( this . IDENT_9 . matches ( host ) ) { return false ; } } } return handler . match ( IDENT_1 , IDENT_4 ) ; }
org . junit . Assert . assertTrue ( IDENT_6 . match ( IDENT_1 , IDENT_4 ) )