METHOD_0 ( ) { METHOD_1 ( 2 ) ; expect ( compute . METHOD_2 ( ) ) . andReturn ( IDENT_0 ) ; com . google . cloud . compute . IDENT_1 . Operation operation = new com . google . cloud . compute . IDENT_1 . Operation . Builder ( IDENT_2 ) . METHOD_3 ( com . google . cloud . compute . IDENT_1 . IDENT_3 . of ( STRING_0 , STRING_1 ) ) . build ( ) ; expect ( compute . start ( com . google . cloud . compute . IDENT_1 . IDENT_4 . IDENT_5 ) ) . andReturn ( operation ) ; replay ( compute ) ; METHOD_4 ( ) ; "<AssertPlaceHolder>" ; } start ( ) { if ( ! ( IDENT_6 ) ) { throw new java . lang . IllegalStateException ( STRING_2 ) ; } this . port = com . google . cloud . IDENT_7 . IDENT_8 . v2 . IDENT_9 . METHOD_5 ( ) ; process = java . lang . IDENT_10 . METHOD_6 ( ) . exec ( java . lang . String . format ( STRING_3 , IDENT_11 , port ) ) ; com . google . cloud . IDENT_7 . IDENT_8 . v2 . IDENT_9 . METHOD_7 ( process . METHOD_8 ( ) , IDENT_12 . IDENT_13 ) ; com . google . cloud . IDENT_7 . IDENT_8 . v2 . IDENT_9 . METHOD_7 ( process . METHOD_9 ( ) , IDENT_12 . IDENT_14 ) ; IDENT_6 = false ; IDENT_15 = new java . lang . Thread ( ) { @ com . google . cloud . IDENT_7 . IDENT_8 . v2 . Override public void run ( ) { if ( ! ( IDENT_6 ) ) { IDENT_6 = true ; process . METHOD_10 ( ) ; } } } ; java . lang . IDENT_10 . METHOD_6 ( ) . METHOD_11 ( IDENT_15 ) ; com . google . cloud . IDENT_7 . IDENT_8 . v2 . IDENT_9 . METHOD_12 ( port ) ; }
org . junit . Assert . assertSame ( operation , instance . start ( ) )