@Test public void sets_the_real_stdout() { PrintStream newStream = new PrintStream(new NullOutputStream()); systemOutErr.setOut(newStream); assertThat(System.out, is(newStream)); }
@Override public void setOut(PrintStream out) { System.setOut(out); }
SystemOutErr implements OutErr { @Override public void setOut(PrintStream out) { System.setOut(out); } }
SystemOutErr implements OutErr { @Override public void setOut(PrintStream out) { System.setOut(out); }  }
SystemOutErr implements OutErr { @Override public void setOut(PrintStream out) { System.setOut(out); }  @Override PrintStream out(); @Override PrintStream err(); @Override void setOut(PrintStream out); @Override void setErr(PrintStream err); }
SystemOutErr implements OutErr { @Override public void setOut(PrintStream out) { System.setOut(out); }  @Override PrintStream out(); @Override PrintStream err(); @Override void setOut(PrintStream out); @Override void setErr(PrintStream err);  }