What method (or methods) do we need to call to determine what is inside a PrintWriter during testing?

out().getHistory();
  • out();
  • produceOutput();
  • in().getHistory();

There are no hints for this question.