METHOD_0 ( ) { when ( IDENT_0 . METHOD_1 ( com . google . cloud . tools . eclipse . IDENT_1 . IDENT_2 . server . IDENT_3 . IDENT_4 , ( - 1 ) ) ) . thenReturn ( ( - 1 ) ) ; when ( server . METHOD_1 ( com . google . cloud . tools . eclipse . IDENT_1 . IDENT_2 . server . IDENT_3 . IDENT_4 , INT_0 ) ) . thenReturn ( INT_0 ) ; "<AssertPlaceHolder>" ; verify ( IDENT_0 ) . METHOD_1 ( eq ( com . google . cloud . tools . eclipse . IDENT_1 . IDENT_2 . server . IDENT_3 . IDENT_4 ) , METHOD_2 ( ) ) ; verify ( server ) . METHOD_1 ( eq ( com . google . cloud . tools . eclipse . IDENT_1 . IDENT_2 . server . IDENT_3 . IDENT_4 ) , METHOD_2 ( ) ) ; } METHOD_3 ( java . lang . String , int , org . eclipse . debug . core . IDENT_5 , org . eclipse . IDENT_6 . server . core . IDENT_7 ) { int port = - 1 ; try { port = configuration . METHOD_1 ( IDENT_4 , ( - 1 ) ) ; } catch ( org . eclipse . core . runtime . IDENT_8 ex ) { com . google . cloud . tools . eclipse . IDENT_1 . IDENT_2 . server . IDENT_9 . logger . log ( IDENT_10 . IDENT_11 , ( STRING_0 + IDENT_4 ) , ex ) ; } if ( port < 0 ) { port = server . METHOD_1 ( IDENT_4 , IDENT_12 ) ; } return port ; }
org . junit . Assert . assertEquals ( INT_0 , com . google . cloud . tools . eclipse . IDENT_1 . IDENT_2 . server . IDENT_9 . METHOD_3 ( com . google . cloud . tools . eclipse . IDENT_1 . IDENT_2 . server . IDENT_3 . IDENT_4 , INT_0 , IDENT_0 , server ) )