METHOD_0 ( ) { org . apache . IDENT_0 . http . impl . IDENT_1 . IDENT_2 IDENT_1 = new org . apache . IDENT_0 . http . impl . IDENT_1 . METHOD_1 ( "name" , "value" ) ; org . apache . IDENT_0 . http . IDENT_1 . IDENT_3 IDENT_4 = new org . apache . IDENT_0 . http . IDENT_1 . METHOD_2 ( STRING_0 , INT_0 , "/" , false ) ; org . apache . IDENT_0 . http . IDENT_1 . IDENT_5 IDENT_6 = new org . apache . IDENT_0 . http . impl . IDENT_1 . METHOD_3 ( ) ; IDENT_1 . METHOD_4 ( STRING_1 ) ; "<AssertPlaceHolder>" ; } match ( org . apache . IDENT_0 . http . IDENT_1 . IDENT_7 , org . apache . IDENT_0 . http . IDENT_1 . METHOD_2 ) { if ( IDENT_1 == null ) { throw new java . lang . IllegalArgumentException ( STRING_2 ) ; } if ( IDENT_4 == null ) { throw new java . lang . IllegalArgumentException ( STRING_3 ) ; } java . lang . String host = IDENT_4 . METHOD_5 ( ) ; java . lang . String domain = IDENT_1 . METHOD_6 ( ) ; if ( domain == null ) { return false ; } return ( host . equals ( domain ) ) || ( ( domain . startsWith ( STRING_4 ) ) && ( host . METHOD_7 ( domain ) ) ) ; }
org . junit . Assert . assertTrue ( IDENT_6 . match ( IDENT_1 , IDENT_4 ) )