@Test
public void testGetQueueCircuitStateByHash(TestContext context){

    Async async = context.async();
    storage.getQueueCircuitState("someCircuitHash").setHandler(event -> {
        context.assertEquals(CLOSED, event.result());
        writeQueueCircuitStateToDatabase("someCircuitHash", HALF_OPEN);
        storage.getQueueCircuitState("someCircuitHash").setHandler(event1 -> {
            context.assertEquals(HALF_OPEN, event1.result());
            async.complete();
        });
    });
}