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

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

        System.setProperty("apiman.test.gateway.gateway.endpoint", gatewayServer.getGatewayEndpoint());
        System.setProperty("apiman.test.gateway.endpoints.echo", gatewayServer.getEchoTestEndpoint());

        try {
            super.run(notifier);
        } finally {
            try { shutdown(); } catch (Throwable e) { e.printStackTrace(); }
            resetSystemProperties();
        }

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