def METHOD_NAME(
    disabled_rabbitmq: None,
    disabled_ec2: None,
    mocked_redis_server: None,
    initialized_app: FastAPI,
):
    assert hasattr(initialized_app.state, "rabbitmq_client")
    assert initialized_app.state.rabbitmq_client is None
    assert initialized_app.state.rabbitmq_rpc_server is None
    with pytest.raises(ConfigurationError):
        get_rabbitmq_client(initialized_app)
    with pytest.raises(ConfigurationError):
        get_rabbitmq_rpc_client(initialized_app)
    assert is_rabbitmq_enabled(initialized_app) is False