METHOD_0 ( ) { org . mockito . Mockito . when ( com . cloud . utils . script . IDENT_0 . METHOD_1 ( org . mockito . Matchers . anyString ( ) ) ) . thenReturn ( ( ( IDENT_1 . IDENT_2 ) + ( java . lang . String . valueOf ( com . cloud . IDENT_3 . IDENT_4 . resource . IDENT_5 . IDENT_6 ) ) ) ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( ) { com . cloud . IDENT_3 . IDENT_4 . resource . IDENT_1 . IDENT_7 . debug ( STRING_0 ) ; java . lang . String IDENT_8 = ( ( STRING_1 + ( com . cloud . IDENT_3 . IDENT_4 . resource . IDENT_1 . IDENT_2 ) ) + STRING_2 ) + STRING_3 ; java . lang . String port = com . cloud . utils . script . IDENT_0 . METHOD_1 ( IDENT_8 ) ; int IDENT_9 = 0 ; if ( org . apache . commons . lang . StringUtils . METHOD_3 ( port ) ) { java . lang . String IDENT_10 = port . replace ( STRING_4 , "" ) ; java . lang . String IDENT_6 = IDENT_10 . split ( com . cloud . IDENT_3 . IDENT_4 . resource . IDENT_1 . IDENT_2 ) [ 1 ] ; IDENT_9 = java . lang . Integer . valueOf ( IDENT_6 ) ; } return IDENT_9 ; }
org . junit . Assert . assertEquals ( com . cloud . IDENT_3 . IDENT_4 . resource . IDENT_5 . IDENT_6 , driver . METHOD_2 ( ) )