code: protected void finish() {
          Reporter reporter = this.reporterThreadLocal.get();
          assertEquals("Detailed results found at: " + reporter.getFileName(), "0 errors",
                  Integer.toString(reporter.getFails()) + ERRORS_CHECK);
      }
docs: Concludes each test case. This should be run as the last time of
  each @Test. It will close out the output logging file, and count any
  errors that were encountered during the test, and fail the test if any
  errors were encountered