METHOD_0 ( ) { java . lang . String reference = STRING_0 ; com . IDENT_0 . IDENT_1 . http . url . impl . IDENT_2 d = new com . IDENT_0 . IDENT_1 . http . url . impl . METHOD_1 ( ) ; java . lang . String IDENT_3 = STRING_1 ; java . lang . String IDENT_4 = STRING_2 ; java . lang . String url = null ; java . lang . String IDENT_5 = ( ( ( STRING_3 + STRING_4 ) + IDENT_3 ) + STRING_5 ) + STRING_6 ; url = d . METHOD_2 ( reference , new java . io . ByteArrayInputStream ( IDENT_5 . getBytes ( ) ) , IDENT_6 . IDENT_7 ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( java . lang . String , java . io . InputStream , com . IDENT_0 . commons . lang . file . IDENT_6 ) { com . IDENT_0 . commons . lang . file . IDENT_6 [ ] IDENT_8 = IDENT_9 ; if ( org . apache . commons . lang3 . IDENT_10 . isEmpty ( IDENT_8 ) ) { IDENT_8 = com . IDENT_0 . IDENT_1 . http . url . impl . METHOD_1 . IDENT_11 ; } if ( ! ( org . apache . commons . lang3 . IDENT_10 . contains ( IDENT_8 , IDENT_12 ) ) ) { return null ; } try ( java . io . IDENT_13 IDENT_14 = new java . io . METHOD_3 ( is ) ; com . IDENT_0 . commons . lang . io . IDENT_15 r = new com . IDENT_0 . commons . lang . io . METHOD_4 ( IDENT_14 , ( ( int ) ( IDENT_16 . IDENT_17 . METHOD_5 ( 16 ) ) ) ) ) { java . lang . String text = null ; while ( ( text = r . METHOD_6 ( ) ) != null ) { java . util . regex . IDENT_18 matcher = com . IDENT_0 . IDENT_1 . http . url . impl . METHOD_1 . IDENT_19 . matcher ( text ) ; while ( matcher . find ( ) ) { java . lang . String IDENT_20 = matcher . group ( com . IDENT_0 . IDENT_1 . http . url . impl . METHOD_1 . IDENT_21 ) ; java . util . regex . IDENT_18 IDENT_22 = com . IDENT_0 . IDENT_1 . http . url . impl . METHOD_1 . IDENT_23 . matcher ( IDENT_20 ) ; IDENT_22 . find ( ) ; java . lang . String name = IDENT_22 . group ( com . IDENT_0 . IDENT_1 . http . url . impl . METHOD_1 . IDENT_24 ) . toLowerCase ( ) ; if ( ( STRING_7 . equalsIgnoreCase ( name ) ) && ( com . IDENT_0 . IDENT_1 . http . url . impl . METHOD_1 . IDENT_25 . matcher ( IDENT_20 ) . find ( ) ) ) { java . util . regex . IDENT_18 IDENT_26 = com . IDENT_0 . IDENT_1 . http . url . impl . METHOD_1 . IDENT_27 . matcher ( IDENT_20 ) ; if ( IDENT_26 . find ( ) ) { return METHOD_7 ( reference , IDENT_26 . group ( com . IDENT_0 . IDENT_1 . http . url . impl . METHOD_1 . IDENT_28 ) ) ; } return null ; } else if ( com . IDENT_0 . commons . lang . IDENT_29 . METHOD_8 ( name , STRING_8 , STRING_9 ) ) { return null ; } } } } return null ; }
org . junit . Assert . assertEquals ( IDENT_4 , url )