public void checkAllowedAllNamespaces(String tenant, String fromTenant, String fromNamespace) {
        if (!areAllowedAllNamespaces(tenant, fromTenant, fromNamespace)) {
            throw new IllegalArgumentException("All namespaces are not allowed, you should either filter on a namespace or configure all namespaces to allow your namespace.");
        }
    }
@Test
    void checkAllowedAllNamespaces() {
        flowService.checkAllowedAllNamespaces("tenant", "fromTenant", "fromNamespace");
    }