METHOD_0 ( ) { client . METHOD_1 ( STRING_0 ) ; try { client . METHOD_2 ( IDENT_0 . IDENT_1 ) ; } catch ( java . lang . Exception ex ) { "<AssertPlaceHolder>" ; } org . junit . Assert . fail ( ) ; } METHOD_2 ( java . lang . String ) { org . IDENT_2 . atlas . util . IDENT_3 . IDENT_4 . IDENT_5 . METHOD_3 ( STRING_1 , IDENT_6 , METHOD_4 ( ) ) ; java . util . List < org . IDENT_7 . IDENT_8 . IDENT_9 > IDENT_10 = new java . util . ArrayList < org . IDENT_7 . IDENT_8 . IDENT_9 > ( ) ; java . lang . String IDENT_11 = IDENT_6 ; java . lang . String IDENT_12 = IDENT_11 ; int IDENT_13 = 0 ; int IDENT_14 = 0 ; double IDENT_15 = IDENT_16 ; boolean IDENT_17 = false ; while ( ! IDENT_17 ) { org . IDENT_2 . atlas . util . IDENT_3 . IDENT_4 . IDENT_5 . METHOD_3 ( STRING_2 , IDENT_13 , IDENT_14 , METHOD_4 ( IDENT_6 ) ) ; org . IDENT_7 . IDENT_18 req = new org . IDENT_7 . METHOD_5 ( ) ; req . add ( new org . IDENT_7 . IDENT_8 . METHOD_6 ( new org . IDENT_7 . IDENT_8 . METHOD_7 ( IDENT_12 ) ) ) ; req . METHOD_8 ( METHOD_5 . IDENT_19 ) ; req . METHOD_9 ( IDENT_20 ) ; req . METHOD_10 ( ( ( int ) ( IDENT_15 ) ) ) ; req . METHOD_11 ( new org . IDENT_7 . IDENT_8 . METHOD_12 ( org . IDENT_2 . atlas . util . IDENT_3 . IDENT_4 . METHOD_13 ( ) ) ) ; org . IDENT_7 . IDENT_8 . IDENT_21 IDENT_22 ; try { IDENT_22 = new org . IDENT_7 . IDENT_8 . METHOD_14 ( ( ( ( address ) + "/" ) + ( port ) ) ) ; } catch ( java . lang . Exception ex ) { java . lang . String msg = java . lang . String . format ( STRING_3 , address , port ) ; org . IDENT_2 . atlas . util . IDENT_3 . IDENT_4 . LOG . error ( msg , ex ) ; throw new org . IDENT_2 . atlas . util . IDENT_3 . exceptions . METHOD_15 ( msg , ex ) ; } org . IDENT_7 . IDENT_23 target = new org . IDENT_7 . METHOD_16 ( ) ; target . METHOD_17 ( new org . IDENT_7 . IDENT_8 . METHOD_18 ( IDENT_24 ) ) ; target . METHOD_19 ( version ) ; target . METHOD_20 ( org . IDENT_2 . atlas . util . IDENT_3 . IDENT_4 . IDENT_25 ) ; target . METHOD_1 ( IDENT_22 ) ; org . IDENT_7 . IDENT_26 transport ; try { transport = new org . IDENT_7 . transport . METHOD_21 ( ) ; } catch ( java . io . IOException ex ) { java . lang . String msg = java . lang . String . format ( STRING_4 , METHOD_4 ( ) ) ; org . IDENT_2 . atlas . util . IDENT_3 . IDENT_4 . LOG . error ( msg , ex ) ; throw new org . IDENT_2 . atlas . util . IDENT_3 . exceptions . METHOD_15 ( msg , ex ) ; } org . IDENT_7 . IDENT_27 IDENT_3 = new org . IDENT_7 . METHOD_22 ( transport ) ; try { transport . METHOD_23 ( ) ; } catch ( java . io . IOException ex ) { java . lang . String msg = java . lang . String . format ( STRING_5 , address , port ) ; org . IDENT_2 . atlas . util . IDENT_3 . IDENT_4 . LOG . error ( msg , ex ) ; METHOD_24 ( IDENT_3 , transport ) ; throw new org . IDENT_2 . atlas . util . IDENT_3 . exceptions . METHOD_15 ( msg , ex ) ; } org . IDENT_7 . IDENT_8 . METHOD_6 IDENT_28 = null ; org . IDENT_7 . event . IDENT_29 IDENT_30 = null ; try { IDENT_30 = IDENT_3 . METHOD_25 ( req , target ) ; } catch ( java . io . IOException ex ) { java . lang . String msg = java . lang . String . format ( STRING_6 , METHOD_4 ( IDENT_6 ) ) ; org . IDENT_2 . atlas . util . IDENT_3 . IDENT_4 . LOG . error ( msg , ex ) ; METHOD_24 ( IDENT_3 , transport ) ; throw new org . IDENT_2 . atlas . util . IDENT_3 . exceptions . METHOD_26 ( msg , ex ) ; } org . IDENT_7 . METHOD_5 IDENT_31 = IDENT_30 . METHOD_27 ( ) ; if ( IDENT_31 == null ) { java . lang . String msg = java . lang . String . format ( STRING_7 , ( ( int ) ( IDENT_15 ) ) , ( ( int ) ( IDENT_15 * FLOAT_0 ) ) , METHOD_4 ( IDENT_6 ) ) ; IDENT_15 OP_0 FLOAT_0 ; org . IDENT_2 . atlas . util . IDENT_3 . IDENT_4 . LOG . warn ( msg ) ; if ( IDENT_15 <= 1.0 ) { java . lang . String IDENT_32 = java . lang . String . format ( STRING_8 , METHOD_4 ( IDENT_6 ) ) ; org . IDENT_2 . atlas . util . IDENT_3 . IDENT_4 . LOG . error ( IDENT_32 ) ; METHOD_24 ( IDENT_3 , transport ) ; throw new org . IDENT_2 . atlas . util . IDENT_3 . exceptions . METHOD_28 ( IDENT_32 ) ; } METHOD_24 ( IDENT_3 , transport ) ; continue ; } int IDENT_33 = IDENT_31 . size ( ) ; for ( int i = 0 ; i < IDENT_33 ; i ++ ) { IDENT_13 ++ ; IDENT_28 = IDENT_31 . get ( i ) ; java . lang . String IDENT_34 = IDENT_28 . METHOD_29 ( ) . toString ( ) ; if ( ! ( IDENT_34 . startsWith ( ( IDENT_6 + STRING_9 ) ) ) ) { IDENT_17 = true ; continue ; } IDENT_14 ++ ; IDENT_10 . add ( IDENT_28 ) ; IDENT_12 = IDENT_34 ; } METHOD_24 ( IDENT_3 , transport ) ; if ( IDENT_33 < IDENT_15 ) { break ; } } org . IDENT_2 . atlas . util . IDENT_3 . IDENT_4 . IDENT_5 . METHOD_3 ( STRING_8 0 , IDENT_13 , IDENT_14 , METHOD_4 ( IDENT_6 ) ) ; return IDENT_10 ; }
org . junit . Assert . assertTrue ( ( ex instanceof org . IDENT_2 . atlas . util . IDENT_3 . exceptions . METHOD_26 ) )