/**
  * Sets up the Logger with a mocked PrintWriter, to improve observability and to make sure it does
  * not actually write to the log.
  */
 @Before
 public void setUp() {
   Logger.setWriter(print);
 }