METHOD_0 ( ) { when ( IDENT_0 . METHOD_1 ( anyString ( ) , anyString ( ) ) ) . METHOD_2 ( org . mockito . IDENT_1 . METHOD_3 ( ) ) ; when ( server . METHOD_4 ( ) ) . thenReturn ( STRING_0 ) ; com . google . cloud . tools . IDENT_2 . configuration . IDENT_3 config = new com . google . cloud . tools . eclipse . IDENT_2 . IDENT_4 . server . METHOD_5 ( ) . METHOD_6 ( IDENT_0 , server , IDENT_5 . IDENT_6 , services ) ; "<AssertPlaceHolder>" ; verify ( server , METHOD_7 ( ) ) . METHOD_4 ( ) ; } METHOD_6 ( org . eclipse . debug . core . IDENT_7 , org . eclipse . IDENT_8 . server . core . IDENT_9 , java . lang . String , java . util . List ) { com . google . cloud . tools . IDENT_2 . configuration . IDENT_3 . Builder builder = com . google . cloud . tools . IDENT_2 . configuration . IDENT_3 . builder ( services ) ; if ( ( server . METHOD_4 ( ) ) != null ) { builder . host ( server . METHOD_4 ( ) ) ; } int IDENT_10 = com . google . cloud . tools . eclipse . IDENT_2 . IDENT_4 . server . METHOD_5 . METHOD_8 ( IDENT_11 . IDENT_12 , IDENT_11 . IDENT_13 , configuration , server ) ; if ( IDENT_10 >= 0 ) { builder . port ( IDENT_10 ) ; } builder . METHOD_9 ( IDENT_5 . IDENT_6 . equals ( IDENT_14 ) ) ; java . lang . String IDENT_15 = METHOD_10 ( configuration ) ; java . util . List < java . lang . String > IDENT_16 = java . util . Arrays . asList ( org . eclipse . debug . core . IDENT_17 . METHOD_11 ( IDENT_15 ) ) ; if ( ! ( IDENT_16 . isEmpty ( ) ) ) { builder . METHOD_12 ( IDENT_16 ) ; } java . lang . String IDENT_18 = METHOD_13 ( configuration ) ; java . util . List < java . lang . String > IDENT_19 = java . util . Arrays . asList ( org . eclipse . debug . core . IDENT_17 . METHOD_11 ( IDENT_18 ) ) ; if ( ! ( IDENT_19 . isEmpty ( ) ) ) { builder . METHOD_14 ( IDENT_19 ) ; } boolean IDENT_20 = configuration . METHOD_1 ( IDENT_5 . IDENT_21 , true ) ; if ( ! IDENT_20 ) { throw new org . eclipse . core . runtime . METHOD_15 ( com . google . cloud . tools . eclipse . util . status . IDENT_22 . error ( this , STRING_1 ) ) ; } java . util . Map < java . lang . String , java . lang . String > IDENT_23 = configuration . METHOD_1 ( IDENT_5 . IDENT_24 , java . util . Collections . < java . lang . String , java . lang . String > METHOD_16 ( ) ) ; java . util . Map < java . lang . String , java . lang . String > IDENT_25 = new java . util . HashMap ( ) ; org . eclipse . core . IDENT_26 . IDENT_27 IDENT_28 = org . eclipse . core . IDENT_26 . IDENT_29 . METHOD_17 ( ) . METHOD_18 ( ) ; for ( Map . Entry < java . lang . String , java . lang . String > entry : IDENT_23 . entrySet ( ) ) { IDENT_25 . put ( entry . getKey ( ) , IDENT_28 . METHOD_19 ( entry . getValue ( ) ) ) ; } builder . METHOD_20 ( IDENT_25 ) ; return builder . build ( ) ; }
org . junit . Assert . assertEquals ( STRING_0 , config . METHOD_4 ( ) )