@Test
public void testInactiveQueueCircuitBreaker(TestContext context){

    Async async = context.async();
    QueueCircuitBreaker circuitBreaker = Mockito.spy(new ConfigurableQueueCircuitBreaker(QueueCircuitState.OPEN, false, true));
    new QueueProcessor(vertx, httpClient, monitoringHandler, circuitBreaker);
    vertx.eventBus().send(Address.queueProcessorAddress(), buildQueueEventBusMessage("my_queue"), new DeliveryOptions().setSendTimeout(1000), event -> {
        verify(circuitBreaker, times(1)).isCircuitCheckEnabled();
        verify(circuitBreaker, never()).handleQueuedRequest(anyString(), any(HttpRequest.class));
        verify(httpClient, times(1)).request(any(HttpMethod.class), anyString(), Matchers.<Handler<HttpClientResponse>>any());
        async.complete();
    });
}