METHOD_0 ( ) { com . IDENT_0 . IDENT_1 . IDENT_2 IDENT_3 = new com . IDENT_0 . IDENT_1 . METHOD_1 ( STRING_0 , STRING_0 , STRING_1 , false , ( - 1 ) , INT_0 ) ; IDENT_3 . METHOD_2 ( true ) ; com . IDENT_0 . IDENT_1 . IDENT_4 IDENT_5 = new com . IDENT_0 . IDENT_1 . METHOD_3 ( ) ; IDENT_5 . METHOD_4 ( IDENT_3 ) ; com . IDENT_0 . IDENT_1 . IDENT_6 . IDENT_7 IDENT_8 = new com . IDENT_0 . IDENT_1 . IDENT_6 . METHOD_5 ( ) ; com . IDENT_0 . IDENT_1 . METHOD_3 IDENT_9 = IDENT_8 . METHOD_6 ( com . google . common . collect . Lists . newArrayList ( IDENT_5 ) ) ; "<AssertPlaceHolder>" ; } METHOD_6 ( java . util . List ) { double IDENT_10 = IDENT_11 . get ( ) ; double IDENT_12 = IDENT_13 . get ( ) ; double IDENT_14 = IDENT_15 . get ( ) ; double IDENT_16 = IDENT_17 . get ( ) ; com . IDENT_0 . IDENT_1 . IDENT_6 . IDENT_18 . IDENT_19 max = null ; for ( com . IDENT_0 . IDENT_1 . METHOD_3 IDENT_9 : IDENT_20 ) { com . IDENT_0 . IDENT_1 . METHOD_3 s = ( ( com . IDENT_0 . IDENT_1 . METHOD_3 ) ( IDENT_9 ) ) ; com . IDENT_0 . IDENT_1 . METHOD_1 instance = s . METHOD_7 ( ) ; com . IDENT_0 . IDENT_1 . IDENT_6 . IDENT_18 . IDENT_19 meta = new com . IDENT_0 . IDENT_1 . IDENT_6 . IDENT_18 . METHOD_8 ( ) ; meta . location = IDENT_21 . METHOD_9 ( s ) ; meta . server = s ; meta . load = ( s . METHOD_10 ( ) ) / IDENT_10 ; meta . IDENT_22 = s . METHOD_11 ( ) ; meta . IDENT_23 = 0 ; if ( IDENT_24 . METHOD_12 ( ) . equals ( meta . location . METHOD_12 ( ) ) ) { meta . IDENT_23 = 7 ; } else if ( IDENT_24 . METHOD_13 ( ) . equals ( meta . location . METHOD_13 ( ) ) ) { meta . IDENT_23 = 3 ; } else if ( IDENT_24 . METHOD_14 ( ) . equals ( meta . location . METHOD_14 ( ) ) ) { meta . IDENT_23 = 1 ; } if ( max == null ) { max = meta ; } else if ( meta . METHOD_15 ( max , IDENT_12 , IDENT_14 , IDENT_16 ) ) { max = meta ; } } if ( max != null ) { if ( ( IDENT_25 ) != null ) { com . IDENT_26 . metrics . IDENT_27 IDENT_28 = IDENT_29 . get ( max . location . METHOD_12 ( ) ) ; if ( IDENT_28 == null ) { IDENT_28 = IDENT_25 . METHOD_16 ( name ( IDENT_30 , STRING_2 , max . location . METHOD_12 ( ) ) ) ; com . IDENT_26 . metrics . IDENT_27 IDENT_31 = IDENT_29 . METHOD_17 ( max . location . METHOD_12 ( ) , METHOD_16 ) ; if ( IDENT_31 != null ) { METHOD_16 = IDENT_31 ; } } METHOD_16 . METHOD_18 ( ) ; } return max . server ; } else { return null ; } }
org . junit . Assert . assertEquals ( IDENT_9 , IDENT_5 )