public void testRequestUri() throws Exception {
Engine.register(false);
Engine.getInstance().getRegisteredServers()
.add(new HttpServerHelper(null));
Server server = new Server(new Context(), Protocol.HTTP, 0);
server.start();
HttpServerHelper hsh = (HttpServerHelper) server.getContext()
.getAttributes().get("org.restlet.engine.helper");
Connection<Server> c = hsh.getConnectionPool().checkout();