I often have the case where I’ve written a custom policy, but the other pieces required to deploy it, e.g. REST API, databases etc., aren’t ready, but I still want to test the logic. I create a unit test Technical Policy that the policy calls, and I add all the flags that would derive from the API etc., in there e.g. <OutputClaim ClaimTypeReferenceId="extension_Flag1" DefaultValue="True" AlwaysUseDefaultValue="true" />