def METHOD_NAME(self, webpubsub_endpoint):
    client = self.create_client(endpoint=webpubsub_endpoint, hub='hub', reverse_proxy_endpoint='https://example.azure-api.net')
    with pytest.raises(ServiceRequestError):
        client.send_to_all({'hello': 'test_webpubsub_send_to_all_api_management_proxy_counter_test'})