public class ResponseTime extends TestVerticle {
@Test
public void testResponseTime() {
Yoke yoke = new Yoke(this);
yoke.use(new com.jetdrone.vertx.yoke.middleware.ResponseTime());
yoke.use(new Handler<YokeRequest>() {
@Override
public void handle(YokeRequest request) {
request.response().end();
}
});