protected void preStart() throws Exception {
        TestUtil.setProperty("liquibase.should.run", "true");
//        TestUtil.setProperty("hibernate.hbm2ddl.import_files", "import.sql");
//        TestUtil.setProperty("apiman.hibernate.hbm2ddl.auto", "create-drop");
        TestUtil.setProperty("apiman.hibernate.connection.datasource", "java:/apiman/datasources/apiman-manager");
        TestUtil.setProperty("apiman-manager.config.features.rest-response-should-contain-stacktraces", "true");

        // Set data directory to be test data dir
        File apimanConfigDir = new File("src/test/resources/apiman/config");
        if (!apimanConfigDir.exists()) {
            throw new NoSuchFileException("src/test/resources/apiman/config not found. If you are using Eclipse you may need "
               + "to set the working directory manually (works automatically on all other platforms)");
        }
        TestUtil.setProperty("apiman.config.dir", apimanConfigDir.getAbsolutePath());
        var apimanDataDir = new File("src/test/resources/apiman/data");
        TestUtil.setProperty("apiman.data.dir", apimanDataDir.getAbsolutePath());
    }
Stuff to do before the server is started.
manager/test/api/src/main/java/io/apiman/manager/test/server/ManagerApiTestServer.java