METHOD_0 ( ) { org . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . domain . IDENT_4 rule = mock ( org . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . domain . IDENT_4 . class ) ; java . lang . String IDENT_5 = IDENT_6 . IDENT_7 . IDENT_8 . common . util . IDENT_9 . IDENT_10 . METHOD_1 ( IDENT_11 , IDENT_12 ) ; java . lang . String IDENT_13 = IDENT_6 . IDENT_7 . IDENT_8 . common . util . IDENT_9 . IDENT_10 . METHOD_2 ( IDENT_11 , IDENT_12 ) ; org . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . domain . IDENT_14 IDENT_15 = org . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . domain . IDENT_14 . builder ( ) . METHOD_3 ( 0 ) . METHOD_4 ( INT_0 ) . METHOD_5 ( IDENT_16 . IDENT_17 ) . build ( ) ; when ( IDENT_18 . METHOD_6 ( ) ) . thenReturn ( IDENT_19 ) ; when ( IDENT_19 . METHOD_7 ( IDENT_5 , IDENT_13 ) ) . thenReturn ( IDENT_20 ) ; when ( IDENT_20 . getId ( ) ) . thenReturn ( STRING_0 ) ; when ( IDENT_19 . METHOD_8 ( STRING_0 , IDENT_15 , STRING_1 ) ) . thenReturn ( rule ) ; IDENT_6 . IDENT_7 . IDENT_8 . backend . IDENT_21 . IDENT_2 . IDENT_22 IDENT_23 = new IDENT_6 . IDENT_7 . IDENT_8 . backend . IDENT_21 . IDENT_2 . METHOD_9 ( IDENT_18 , IDENT_24 ) ; java . lang . String IDENT_25 = IDENT_23 . METHOD_10 ( IDENT_11 , IDENT_12 , IDENT_2 , IDENT_6 . IDENT_7 . IDENT_8 . backend . IDENT_21 . IDENT_2 . IDENT_26 . IDENT_27 ) ; "<AssertPlaceHolder>" ; } METHOD_10 ( java . lang . String , java . lang . String , IDENT_6 . IDENT_7 . IDENT_8 . common . IDENT_28 . IDENT_29 , java . util . Set ) { java . lang . String IDENT_30 = IDENT_6 . IDENT_7 . IDENT_8 . common . util . IDENT_9 . IDENT_10 . METHOD_1 ( IDENT_11 , IDENT_12 ) ; IDENT_6 . IDENT_7 . IDENT_8 . backend . IDENT_21 . IDENT_31 . IDENT_32 . logger . info ( java . lang . String . format ( STRING_2 , IDENT_30 ) ) ; org . IDENT_33 . model . compute . IDENT_34 group = this . IDENT_18 . METHOD_11 ( ) . METHOD_12 ( ) . create ( IDENT_30 , java . lang . String . format ( STRING_3 , IDENT_11 , IDENT_12 ) ) ; if ( ! ( IDENT_6 . IDENT_7 . IDENT_8 . backend . IDENT_21 . IDENT_31 . IDENT_32 . IDENT_35 ) ) { for ( java . lang . String port : IDENT_27 ) { java . lang . Integer IDENT_36 ; org . IDENT_33 . model . compute . IDENT_37 METHOD_5 ; if ( port . contains ( "/" ) ) { java . lang . String [ ] s = port . split ( "/" ) ; IDENT_36 = java . lang . Integer . valueOf ( s [ 0 ] ) ; METHOD_5 = org . IDENT_33 . model . compute . IDENT_37 . valueOf ( s [ 1 ] ) ; } else { IDENT_36 = java . lang . Integer . valueOf ( port ) ; METHOD_5 = org . IDENT_33 . model . compute . IDENT_37 . IDENT_17 ; } org . IDENT_33 . model . compute . IDENT_34 . IDENT_38 rule = this . IDENT_18 . METHOD_11 ( ) . METHOD_12 ( ) . METHOD_13 ( org . IDENT_33 . api . IDENT_39 . METHOD_14 ( ) . METHOD_15 ( group . getId ( ) ) . protocol ( IDENT_37 . IDENT_17 ) . METHOD_16 ( STRING_1 ) . range ( IDENT_36 , IDENT_36 ) . build ( ) ) ; IDENT_6 . IDENT_7 . IDENT_8 . backend . IDENT_21 . IDENT_31 . IDENT_32 . logger . info ( java . lang . String . format ( STRING_4 , IDENT_30 ) ) ; } } else { org . IDENT_33 . model . compute . IDENT_34 . IDENT_38 rule = this . IDENT_18 . METHOD_11 ( ) . METHOD_12 ( ) . METHOD_13 ( org . IDENT_33 . api . IDENT_39 . METHOD_14 ( ) . METHOD_15 ( group . getId ( ) ) . protocol ( IDENT_37 . IDENT_17 ) . METHOD_16 ( STRING_1 ) . range ( 1 , INT_0 ) . build ( ) ) ; IDENT_6 . IDENT_7 . IDENT_8 . backend . IDENT_21 . IDENT_31 . IDENT_32 . logger . info ( java . lang . String . format ( STRING_4 , IDENT_30 ) ) ; } IDENT_6 . IDENT_7 . IDENT_8 . backend . IDENT_21 . IDENT_31 . IDENT_32 . logger . info ( java . lang . String . format ( STRING_5 , IDENT_30 ) ) ; return group . getId ( ) ; }
org . junit . Assert . assertEquals ( STRING_0 , IDENT_25 )