METHOD_0 ( ) { java . lang . String IDENT_0 = STRING_0 ; org . springframework . cloud . IDENT_1 . rest . resource . IDENT_2 . IDENT_3 IDENT_4 = new org . springframework . cloud . IDENT_1 . rest . resource . IDENT_2 . METHOD_1 ( ) ; when ( IDENT_5 . METHOD_2 ( org . mockito . Mockito . any ( java . lang . String . class ) , org . mockito . Mockito . eq ( org . springframework . cloud . IDENT_1 . rest . resource . IDENT_2 . METHOD_1 . class ) ) ) . thenReturn ( IDENT_4 ) ; org . springframework . cloud . IDENT_1 . rest . resource . IDENT_6 value = new org . springframework . cloud . IDENT_1 . rest . resource . METHOD_3 ( org . springframework . cloud . IDENT_1 . rest . IDENT_7 . IDENT_8 ) ; value . add ( new org . springframework . IDENT_9 . METHOD_4 ( STRING_1 , STRING_2 ) ) ; value . add ( new org . springframework . IDENT_9 . METHOD_4 ( STRING_3 , STRING_4 ) ) ; value . add ( new org . springframework . IDENT_9 . METHOD_4 ( STRING_5 , STRING_6 ) ) ; value . add ( new org . springframework . IDENT_9 . METHOD_4 ( STRING_7 , STRING_2 0 ) ) ; value . add ( new org . springframework . IDENT_9 . METHOD_4 ( STRING_8 , STRING_9 ) ) ; when ( IDENT_5 . METHOD_2 ( org . mockito . Mockito . any ( java . net . URI . class ) , org . mockito . Mockito . eq ( org . springframework . cloud . IDENT_1 . rest . resource . METHOD_3 . class ) ) ) . thenReturn ( value ) ; org . springframework . cloud . IDENT_1 . rest . resource . security . IDENT_10 IDENT_11 = new org . springframework . cloud . IDENT_1 . rest . resource . security . METHOD_5 ( ) ; IDENT_11 . METHOD_6 ( false ) ; when ( IDENT_5 . METHOD_2 ( org . mockito . Mockito . any ( java . lang . String . class ) , org . mockito . Mockito . eq ( org . springframework . cloud . IDENT_1 . rest . resource . security . METHOD_5 . class ) ) ) . thenReturn ( IDENT_11 ) ; final java . lang . String IDENT_12 = IDENT_13 . target ( IDENT_14 . IDENT_15 , IDENT_14 . IDENT_16 , IDENT_14 . IDENT_17 , IDENT_14 . IDENT_18 , true , IDENT_14 . IDENT_19 , IDENT_14 . IDENT_20 , IDENT_14 . IDENT_21 ) ; System . out . println ( IDENT_12 ) ; "<AssertPlaceHolder>" ; } target ( java . lang . String , java . lang . String , java . lang . String , java . lang . String , boolean , java . lang . String , java . lang . String , java . lang . String ) { if ( ( ( org . springframework . util . StringUtils . isEmpty ( IDENT_22 ) ) && ( ! ( org . springframework . util . StringUtils . isEmpty ( IDENT_23 ) ) ) ) && ( org . springframework . util . StringUtils . isEmpty ( IDENT_24 ) ) ) { return STRING_10 ; } try { this . IDENT_25 . METHOD_7 ( new org . springframework . cloud . IDENT_1 . shell . METHOD_8 ( IDENT_26 , IDENT_24 , IDENT_23 , IDENT_27 ) ) ; final org . springframework . cloud . IDENT_1 . rest . util . IDENT_28 IDENT_29 = org . springframework . cloud . IDENT_1 . rest . util . IDENT_28 . create ( this . IDENT_25 . METHOD_9 ( ) . METHOD_10 ( ) ) . METHOD_11 ( IDENT_27 ) ; if ( org . springframework . util . StringUtils . METHOD_12 ( IDENT_30 ) ) { if ( ( org . springframework . util . StringUtils . isEmpty ( IDENT_31 ) ) && ( ! ( org . springframework . util . StringUtils . isEmpty ( IDENT_32 ) ) ) ) { IDENT_31 = IDENT_33 . METHOD_13 ( STRING_11 , "" , false ) ; } IDENT_29 . METHOD_14 ( java . net . URI . create ( IDENT_30 ) , IDENT_32 , IDENT_31 ) ; } this . IDENT_5 . METHOD_15 ( IDENT_29 . METHOD_16 ( ) ) ; final org . springframework . cloud . IDENT_1 . rest . resource . security . METHOD_5 IDENT_34 = IDENT_5 . METHOD_2 ( ( IDENT_26 + STRING_12 ) , org . springframework . cloud . IDENT_1 . rest . resource . security . METHOD_5 . class ) ; boolean IDENT_35 = false ; if ( IDENT_34 != null ) { IDENT_35 = IDENT_34 . METHOD_17 ( ) ; } if ( ( ( org . springframework . util . StringUtils . isEmpty ( IDENT_22 ) ) && ( org . springframework . util . StringUtils . isEmpty ( IDENT_24 ) ) ) && IDENT_35 ) { IDENT_24 = IDENT_33 . METHOD_13 ( STRING_13 , "" , true ) ; } if ( ( ( ( org . springframework . util . StringUtils . isEmpty ( IDENT_22 ) ) && IDENT_35 ) && ( org . springframework . util . StringUtils . isEmpty ( IDENT_23 ) ) ) && ( ! ( org . springframework . util . StringUtils . isEmpty ( IDENT_24 ) ) ) ) { IDENT_23 = IDENT_33 . METHOD_13 ( STRING_14 , "" , false ) ; } this . IDENT_25 . METHOD_7 ( new org . springframework . cloud . IDENT_1 . shell . METHOD_8 ( IDENT_26 , IDENT_24 , IDENT_23 , IDENT_27 ) ) ; if ( ( org . springframework . util . StringUtils . METHOD_12 ( IDENT_22 ) ) && IDENT_35 ) { this . IDENT_25 . METHOD_9 ( ) . METHOD_18 ( new org . springframework . cloud . IDENT_1 . shell . METHOD_19 ( true ) ) ; final org . springframework . cloud . IDENT_1 . rest . util . IDENT_36 IDENT_37 = new org . springframework . cloud . IDENT_1 . rest . util . METHOD_20 ( IDENT_22 . split ( STRING_15 ) ) ; IDENT_29 . METHOD_21 ( new org . springframework . cloud . IDENT_1 . rest . util . METHOD_22 ( IDENT_37 ) ) ; } if ( ( IDENT_35 && ( org . springframework . util . StringUtils . METHOD_12 ( IDENT_24 ) ) ) && ( org . springframework . util . StringUtils . METHOD_12 ( IDENT_23 ) ) ) { IDENT_29 . METHOD_23 ( IDENT_24 , IDENT_23 ) ; } this . IDENT_5 . METHOD_15 ( IDENT_29 . METHOD_16 ( ) ) ; this . shell . METHOD_24 ( new org . springframework . cloud . IDENT_1 . rest . client . METHOD_25 ( IDENT_25 . METHOD_9 ( ) . METHOD_10 ( ) , this . IDENT_5 ) ) ; this . IDENT_25 . METHOD_9 ( ) . METHOD_26 ( java . lang . String . format ( STRING_16 , IDENT_26 ) ) ; final org . springframework . cloud . IDENT_1 . rest . resource . security . METHOD_5 IDENT_11 = IDENT_5 . METHOD_2 ( ( IDENT_26 + STRING_12 ) , org . springframework . cloud . IDENT_1 . rest . resource . security . METHOD_5 . class ) ; if ( ( IDENT_11 . METHOD_27 ( ) ) && ( ( this . IDENT_25 . METHOD_9 ( ) . METHOD_28 ( ) ) != null ) ) { for ( java . lang . String IDENT_38 : IDENT_11 . METHOD_29 ( ) ) { final org . springframework . cloud . IDENT_1 . shell . command . support . IDENT_39 IDENT_40 = org . springframework . cloud . IDENT_1 . shell . command . support . IDENT_39 . METHOD_30 ( IDENT_38 ) ; this . IDENT_25 . METHOD_9 ( ) . METHOD_28 ( ) . METHOD_29 ( ) . add ( IDENT_40 ) ; } } this . IDENT_25 . METHOD_9 ( ) . METHOD_31 ( IDENT_11 . METHOD_27 ( ) ) ; this . IDENT_25 . METHOD_9 ( ) . METHOD_6 ( IDENT_11 . METHOD_17 ( ) ) ; this . IDENT_25 . METHOD_9 ( ) . METHOD_26 ( java . lang . String . format ( STRING_16 , IDENT_26 ) ) ; } catch ( java . lang . Exception e ) { this . IDENT_25 . METHOD_9 ( ) . METHOD_32 ( e ) ; this . shell . METHOD_24 ( null ) ; METHOD_33 ( this . IDENT_25 . METHOD_9 ( ) ) ; } return this . IDENT_25 . METHOD_9 ( ) . METHOD_34 ( ) ; }
org . junit . Assert . assertThat ( IDENT_12 , org . hamcrest . Matchers . is ( IDENT_0 ) )