METHOD_0 ( ) { ac . IDENT_0 . IDENT_1 . IDENT_2 IDENT_3 = new ac . IDENT_0 . IDENT_1 . METHOD_1 ( IDENT_4 , null , new java . util . ArrayList ( ) , null ) ; IDENT_3 . METHOD_2 ( false ) ; java . util . Optional < ac . IDENT_0 . IDENT_1 . IDENT_5 > IDENT_6 = IDENT_3 . METHOD_3 ( STRING_0 ) ; "<AssertPlaceHolder>" ; org . mockito . Mockito . METHOD_4 ( IDENT_4 ) ; } METHOD_3 ( java . lang . String ) { java . util . Optional < ac . IDENT_0 . IDENT_1 . IDENT_5 > IDENT_7 = this . IDENT_8 . METHOD_5 ( ) . stream ( ) . filter ( ( IDENT_6 ) -> IDENT_6 . METHOD_6 ( ) . stream ( ) . map ( java . lang . String :: trim ) . METHOD_7 ( url :: matches ) ) . METHOD_8 ( ) ; if ( ( ! ( IDENT_7 . METHOD_9 ( ) ) ) && ( IDENT_9 ) ) { try { final org . apache . http . IDENT_10 IDENT_11 = this . IDENT_12 . execute ( new org . apache . http . client . methods . METHOD_10 ( url ) ) ; if ( ( IDENT_11 . METHOD_11 ( ) . getStatusCode ( ) ) != ( org . apache . http . IDENT_13 . IDENT_14 ) ) { ac . IDENT_0 . IDENT_1 . METHOD_1 . LOGGER . warn ( STRING_1 , url , IDENT_11 . METHOD_11 ( ) . getStatusCode ( ) , org . apache . http . util . IDENT_15 . toString ( IDENT_11 . METHOD_12 ( ) ) ) ; } else { final org . jsoup . nodes . Document document = org . jsoup . IDENT_16 . parse ( org . apache . http . util . IDENT_15 . toString ( IDENT_11 . METHOD_12 ( ) , STRING_2 ) , url ) ; IDENT_7 = document . METHOD_13 ( STRING_3 , STRING_4 ) . stream ( ) . map ( ( IDENT_17 ) -> { ac . IDENT_0 . IDENT_1 . IDENT_5 IDENT_18 = null ; try { if ( IDENT_17 . METHOD_14 ( STRING_5 ) . equalsIgnoreCase ( STRING_6 ) ) { IDENT_18 = new ac . IDENT_0 . IDENT_1 . METHOD_15 ( new java . net . URI ( IDENT_17 . METHOD_16 ( STRING_7 ) ) , IDENT_19 . json ) ; } else if ( IDENT_17 . METHOD_14 ( STRING_5 ) . equalsIgnoreCase ( STRING_8 ) ) { IDENT_18 = new ac . IDENT_0 . IDENT_1 . METHOD_15 ( new java . net . URI ( IDENT_17 . METHOD_16 ( STRING_7 ) ) , IDENT_19 . xml ) ; } } catch ( ex ) { } return IDENT_18 ; } ) . filter ( IDENT_20 :: IDENT_21 ) . METHOD_8 ( ) ; } } catch ( java . io . IOException e ) { ac . IDENT_0 . IDENT_1 . METHOD_1 . LOGGER . warn ( STRING_9 , url , e . getMessage ( ) ) ; } } return IDENT_7 ; }
org . junit . Assert . assertFalse ( IDENT_6 . METHOD_9 ( ) )