public static void restoreDefaultOutAndErrStream(){
  System.setOut(DEFAULT_OUT);
  System.setErr(DEFAULT_ERR);
}

public static void restoreDefaultOutAndErrStream ( ) { System . setOut ( DEFAULT_OUT ) ; System . setErr ( DEFAULT_ERR ) ; }
allow again printing to system . out and system . err
