@Test
public void testAcquireLockFail(TestContext context) {

    Mockito.when(lock.acquireLock(anyString(), anyString(), anyLong())).thenReturn(Future.succeededFuture(Boolean.FALSE));
    Async async = context.async();
    LockUtil.acquireLock(lock, "someLock", "someToken", 100, log).setHandler(event -> {
        context.assertTrue(event.succeeded());
        context.assertFalse(event.result());
        Mockito.verify(log, Mockito.times(1)).debug(Matchers.eq("Trying to acquire lock 'someLock' with token 'someToken' and expiry 100ms"));
        async.complete();
    });
}