@Test
public void testNoAuth() throws Exception {

    final int[] count = { 0 };
    dispatcher.requireAuth().get("/get/me", c -> {
        count[0] += 1;
    });

    HttpClient client = vertx.createHttpClient();
    httpGet(client, "/get/me", jo -> jo.getLong("error") == ErrorMessages.NOT_AUTHORISED);
    Assert.assertEquals(count[0], 0);
}