@Test
public void testGetQueueCircuitInformation(TestContext context){

    Async async = context.async();
    String hash = "someCircuitHash";
    storage.getQueueCircuitInformation(hash).setHandler(event -> {
        context.assertTrue(event.succeeded());
        JsonObject result = event.result();
        context.assertEquals(CLOSED.name().toLowerCase(), result.getString("status"));
        context.assertTrue(result.containsKey("info"));
        context.assertFalse(result.getJsonObject("info").containsKey("failRatio"));
        context.assertFalse(result.getJsonObject("info").containsKey("circuit"));
        writeQueueCircuit(hash, HALF_OPEN, "/some/circuit/path", 99);
        storage.getQueueCircuitInformation(hash).setHandler(event1 -> {
            context.assertTrue(event1.succeeded());
            JsonObject result1 = event1.result();
            context.assertEquals(HALF_OPEN.name().toLowerCase(), result1.getString("status"));
            context.assertTrue(result1.containsKey("info"));
            context.assertEquals(99, result1.getJsonObject("info").getInteger("failRatio"));
            context.assertEquals("/some/circuit/path", result1.getJsonObject("info").getString("circuit"));
            async.complete();
        });
    });
}