public class Validator extends TestVerticle {
@Test
public void testParam() {
final Yoke yoke = new Yoke(this);
yoke.use(new Router().get("/search/:from/:to", new Middleware() {
@Override
public void handle(@NotNull YokeRequest request, @NotNull Handler<Object> next) {
com.jetdrone.vertx.yoke.util.Validator validator = new com.jetdrone.vertx.yoke.util.Validator(
that("param:from").is(Type.DateTime),
that("param:to").is(Type.DateTime)