@Test
public void testLockQueue(TestContext context){

    Async async = context.async();
    String circuitHash = "anotherCircuitHash";
    context.assertFalse(jedis.exists(queuesKey(circuitHash)));
    PatternAndCircuitHash patternAndCircuitHash = buildPatternAndCircuitHash("/anotherCircuit", circuitHash);
    storage.lockQueue("someQueue", patternAndCircuitHash).setHandler(event -> {
        context.assertTrue(jedis.exists(queuesKey(circuitHash)));
        context.assertEquals(1L, jedis.zcard(queuesKey(circuitHash)));
        context.assertEquals("someQueue", jedis.zrange(queuesKey(circuitHash), 0, 0).iterator().next());
        async.complete();
    });
}