METHOD_0 ( ) { com . vmware . IDENT_0 . IDENT_1 . utils . IDENT_2 . logger . info ( STRING_0 ) ; com . IDENT_3 . IDENT_4 . IDENT_5 IDENT_6 = null ; java . lang . String command = STRING_1 ; java . lang . String expResult = "" ; java . lang . String result = null ; try { result = com . vmware . IDENT_0 . IDENT_1 . utils . IDENT_7 . METHOD_1 ( IDENT_6 , command ) ; } catch ( com . IDENT_3 . IDENT_4 . IDENT_8 ex ) { } catch ( java . io . IOException ex ) { } com . vmware . IDENT_0 . IDENT_1 . utils . IDENT_2 . logger . info ( ( STRING_2 + result ) ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( com . IDENT_3 . IDENT_4 . IDENT_5 , java . lang . String ) { java . lang . StringBuilder builder = null ; com . vmware . IDENT_0 . IDENT_1 . utils . IDENT_7 . logger . debug ( ( ( STRING_3 + command ) + "]" ) ) ; if ( ( ( IDENT_9 != null ) && ( command != null ) ) && ( ! ( "" . equals ( command ) ) ) ) { builder = new java . lang . StringBuilder ( ) ; com . IDENT_3 . IDENT_4 . IDENT_10 channel = null ; int IDENT_11 = INT_0 ; try { channel = IDENT_9 . METHOD_2 ( STRING_4 ) ; ( ( com . IDENT_3 . IDENT_4 . IDENT_12 ) ( channel ) ) . METHOD_3 ( command ) ; channel . METHOD_4 ( null ) ; ( ( com . IDENT_3 . IDENT_4 . IDENT_12 ) ( channel ) ) . METHOD_5 ( System . err ) ; java . io . InputStream in = channel . METHOD_6 ( ) ; channel . connect ( ) ; byte [ ] IDENT_13 = new byte [ IDENT_11 ] ; while ( true ) { while ( ( in . METHOD_7 ( ) ) > 0 ) { int i = in . read ( IDENT_13 , 0 , IDENT_11 ) ; if ( i < 0 ) break ; builder . append ( new java . lang . String ( IDENT_13 , 0 , i ) ) ; } if ( channel . METHOD_8 ( ) ) { break ; } try { java . lang . Thread . sleep ( INT_1 ) ; } catch ( java . lang . Exception IDENT_14 ) { } } if ( ( channel . METHOD_8 ( ) ) && ( ( channel . METHOD_9 ( ) ) != 0 ) ) { com . vmware . IDENT_0 . IDENT_1 . utils . IDENT_7 . logger . debug ( ( STRING_5 + ( channel . METHOD_9 ( ) ) ) ) ; } } catch ( java . lang . Exception e ) { com . vmware . IDENT_0 . IDENT_1 . utils . IDENT_7 . logger . error ( STRING_6 , e ) ; } finally { if ( ( channel != null ) && ( channel . METHOD_10 ( ) ) ) { channel . METHOD_11 ( ) ; } com . vmware . IDENT_0 . IDENT_1 . utils . IDENT_7 . logger . debug ( ( ( STRING_7 + command ) + "]" ) ) ; } return builder . toString ( ) ; } return null ; }
org . junit . Assert . assertNull ( result )