@Test
public void testAcquireLockError(TestContext context) {

    Mockito.when(lock.acquireLock(anyString(), anyString(), anyLong())).thenReturn(Future.failedFuture("Booom"));
    Async async = context.async();
    LockUtil.acquireLock(lock, "someLock", "someToken", 100, log).setHandler(event -> {
        context.assertFalse(event.succeeded());
        context.assertEquals("Booom", event.cause().getMessage());
        async.complete();
    });
}