test ( ) { java . util . ArrayList < java . lang . String > list = new java . util . ArrayList < java . lang . String > ( ) ; list . add ( STRING_0 ) ; list . add ( STRING_1 ) ; java . io . IDENT_0 out = null ; java . io . IDENT_0 err = null ; try { java . lang . IDENT_1 process = org . apache . hive . IDENT_2 . IDENT_3 . IDENT_4 . IDENT_5 . getInstance ( ) . run ( list , new java . util . ArrayList < java . lang . String > ( ) , new java . util . HashMap < java . lang . String , java . lang . String > ( ) ) ; out = new java . io . METHOD_0 ( new java . io . METHOD_1 ( process . METHOD_2 ( ) ) ) ; err = new java . io . METHOD_0 ( new java . io . METHOD_1 ( process . METHOD_3 ( ) ) ) ; "<AssertPlaceHolder>" ; out . close ( ) ; java . lang . String line ; while ( ( line = err . METHOD_4 ( ) ) != null ) { org . junit . Assert . fail ( line ) ; } process . METHOD_5 ( ) ; } catch ( java . lang . Exception e ) { e . printStackTrace ( ) ; org . junit . Assert . fail ( STRING_2 ) ; } finally { try { out . close ( ) ; } catch ( java . lang . Exception ex ) { } try { err . close ( ) ; } catch ( java . lang . Exception ex ) { } } } METHOD_4 ( ) { java . io . ByteArrayOutputStream ret = new java . io . ByteArrayOutputStream ( INT_0 ) ; int c ; while ( ( ( c = read ( false ) ) != STRING_3 ) && ( c != ( - 1 ) ) ) { if ( c != STRING_4 ) { ret . write ( c ) ; } else { ret . write ( STRING_3 ) ; } } return ret . toByteArray ( ) ; }
org . junit . Assert . assertEquals ( STRING_1 , out . METHOD_4 ( ) )