def METHOD_NAME():
    def _callable():
        return 42
    with override_global_config({"_appsec_enabled": True}):
        with _asm_request_context.asm_request_context_manager():
            _asm_request_context.set_block_request_callable(_callable)
            assert _asm_request_context.get_value("callbacks", "block")() == 42
        assert not _asm_request_context.get_value("callbacks", "block")