9899100101102103104105106107108
HttpContext context = server.getContext("http://localhost:27220/test"); endpoint.publish(context); assertTrue(endpoint.isPublished()); listener.stop(); server.stop(true); }