@@ -0,0 +1,1829 @@
+package com.jetdrone.vertx.yoke.extras.test.engine;%0A%0Aimport com.jetdrone.vertx.yoke.Middleware;%0Aimport com.jetdrone.vertx.yoke.middleware.YokeRequest;%0Aimport com.jetdrone.vertx.yoke.test.Response;%0Aimport com.jetdrone.vertx.yoke.test.YokeTester;%0Aimport org.junit.Test;%0Aimport org.vertx.java.core.Handler;%0Aimport org.vertx.testtools.TestVerticle;%0A%0Aimport java.io.File;%0Aimport java.io.FileOutputStream;%0Aimport java.util.ArrayList;%0Aimport java.util.HashMap;%0Aimport java.util.List;%0Aimport java.util.Map;%0A%0Aimport static org.vertx.testtools.VertxAssert.*;%0A%0Apublic class Jade4JEngine extends TestVerticle %7B%0A%0A    @Test%0A    public void testEngine() %7B%0A        try %7B%0A            // create a temp template%0A            File temp = File.createTempFile(%22template%22, %22.jade%22);%0A            FileOutputStream out = new FileOutputStream(temp);%0A            out.write(%22!!!%5Cnhtml%5Cn  head%5Cn  body%22.getBytes());%0A            out.close();%0A            final String location = temp.getAbsolutePath();%0A%0A            YokeTester yoke = new YokeTester(this);%0A            yoke.engine(%22jade%22, new com.jetdrone.vertx.yoke.extras.engine.Jade4JEngine());%0A            yoke.use(new Middleware() %7B%0A                @Override%0A                public void handle(YokeRequest request, Handler%3CObject%3E next) %7B%0A                    request.response().render(location, next);%0A                %7D%0A            %7D);%0A%0A            yoke.request(%22GET%22, %22/%22, new Handler%3CResponse%3E() %7B%0A                @Override%0A                public void handle(Response resp) %7B%0A                    assertEquals(200, resp.getStatusCode());%0A                    assertEquals(%22%3C!DOCTYPE html%3E%3Chtml%3E%3Chead%3E%3C/head%3E%3Cbody%3E%3C/body%3E%3C/html%3E%22, resp.body.toString());%0A                    testComplete();%0A                %7D%0A            %7D);%0A        %7D catch (Exception e) %7B%0A            fail(e.getMessage());%0A        %7D%0A    %7D%0A%0A%7D%0A

Add Jade4JEngine testcase.