@Override
    public void run(RunNotifier notifier) {
        setup();

        PolicyTemplateUtil.clearCache();
        MockGatewayServlet.reset();

        log("");
        log("-------------------------------------------------------------------------------");
        log("Executing REST Test");
        log("-------------------------------------------------------------------------------");
        log("");

        try {
            super.run(notifier);
        } finally {
            try {
                shutdown();
            } catch (Throwable e) {
                e.printStackTrace(); // TODO: Was this deliberate?
            }
            resetSystemProperties();
        }

        log("");
        log("-------------------------------------------------------------------------------");
        log("REST Test complete");
        log("-------------------------------------------------------------------------------");
        log("");
    }
@see org.junit.runners.ParentRunner#run(org.junit.runner.notification.RunNotifier)
manager/test/api/src/main/java/io/apiman/manager/test/junit/ManagerRestTester.java