```\n// File: test/foundry/strategies/RFPSimpleStrategy.t.sol:RFPSimpleStrategyTest\n// $ forge test --match-test "test_registrationIsBlockedWhenThePoolIsCreatedWithUseRegistryIsTrue" -vvv\n//\n    function test_registrationIsBlockedWhenThePoolIsCreatedWithUseRegistryIsTrue() public {\n        // The registerRecipient() function does not work then the strategy was created using the\n        // useRegistryAnchor = true.\n        //\n        bool useRegistryAnchorTrue = true;\n        RFPSimpleStrategy custom_strategy = new RFPSimpleStrategy(address(allo()), "RFPSimpleStrategy");\n\n        vm.prank(pool_admin());\n        poolId = allo().createPoolWithCustomStrategy(\n            poolProfile_id(),\n            address(custom_strategy),\n            abi.encode(maxBid, useRegistryAnchorTrue, metadataRequired),\n            NATIVE,\n            0,\n            poolMetadata,\n            pool_managers()\n        );\n        //\n        // Create profile1 metadata and anchor\n        Metadata memory metadata = Metadata({protocol: 1, pointer: "metadata"});\n        address anchor = profile1_anchor();\n        bytes memory data = abi.encode(anchor, 1e18, metadata);\n        //\n        // Profile1 member registers to the pool but it reverted by RECIPIENT_ERROR\n        vm.startPrank(address(profile1_member1()));\n        vm.expectRevert(abi.encodeWithSelector(RECIPIENT_ERROR.selector, address(anchor)));\n        allo().registerRecipient(poolId, data);\n    }\n```\n