code: public static void system(final StreamSet streams) {
      assert streams != null;
  
      System.setIn(streams.in);
      System.setOut(streams.out);
      System.setErr(streams.err);
    }
docs: Install the given stream set as the {@link System} streams.