class JettyAdminServer implements AdminServer {

    public JettyAdminServer() throws AdminServerException {
        this(System.getProperty("zookeeper.admin.serverAddress", DEFAULT_ADDRESS),
             Integer.getInteger("zookeeper.admin.serverPort", DEFAULT_PORT),
             Integer.getInteger("zookeeper.admin.idleTimeout", DEFAULT_IDLE_TIMEOUT),
             System.getProperty("zookeeper.admin.commandURL", DEFAULT_COMMAND_URL));
    }

}

class JettyAdminServerTest  {

    protected static final Logger LOG;
    private static final String URL_FORMAT;
    private static final int jettyAdminPort;

    @Test
    public void testJettyAdminServer() throws AdminServerException, IOException {

        JettyAdminServer server = new JettyAdminServer();;
        try {
            server.start();
            queryAdminServer(jettyAdminPort);
        } finally {
            server.shutdown();
        }
    }

}