@Test
public void testAcquireLock(TestContext context){

    Async async = context.async();
    context.assertFalse(jedis.exists(lockKey(lock_1)));
    redisBasedLock.acquireLock(lock_1, token_1, 500).setHandler(event -> {
        context.assertTrue(event.succeeded());
        context.assertTrue(event.result());
        context.assertTrue(jedis.exists(lockKey(lock_1)));
        context.assertEquals(token_1, jedis.get(lockKey(lock_1)));
        async.complete();
    });
}