def METHOD_NAME(client: TestClient) -> None:
    with patch("src.api.webhook.SessionLocal.begin") as mock_session_local, patch(
        "src.api.webhook.create_webhook"
    ) as mock_create_webhook, patch(
        "src.chain.escrow.get_web3"
    ) as mock_get_web3, patch(
        "src.chain.escrow.EscrowClient"
    ) as mock_escrow_client, patch(
        "src.chain.web3.Config.polygon_mumbai", PolygonMumbaiConfig
    ):
        mock_session = MagicMock()
        mock_session_local.return_value.__enter__.return_value = mock_session
        mock_create_webhook.return_value = "mocked_webhook_id"
        mock_web3_instance = MagicMock()
        mock_get_web3.return_value = mock_web3_instance
        mock_escrow_instance = MagicMock()
        mock_escrow_instance.get_balance.return_value = 100
        mock_escrow_instance.get_status.return_value = Status.Pending
        mock_escrow_instance.get_job_launcher_address.return_value = JOB_LAUNCHER
        mock_escrow_client.return_value = mock_escrow_instance
        response = client.post(
            "/job-launcher",
            headers={"human-signature": WEBHOOK_MESSAGE_SIGNED},
            json=WEBHOOK_MESSAGE,
        )
        assert response.status_code == 200
        assert response.json() == {"id": "mocked_webhook_id"}
        mock_get_web3.assert_called()
        mock_escrow_client.assert_called_with(mock_web3_instance)
        mock_escrow_instance.get_balance.assert_called_once_with(
            "0x12E66A452f95bff49eD5a30b0d06Ebc37C5A94B6"
        )
        mock_escrow_instance.get_status.assert_called_once_with(
            "0x12E66A452f95bff49eD5a30b0d06Ebc37C5A94B6"
        )
        mock_escrow_instance.get_job_launcher_address.assert_called_once_with(
            "0x12E66A452f95bff49eD5a30b0d06Ebc37C5A94B6"
        )
        mock_session_local.assert_called_once()
        mock_create_webhook.assert_called_once_with(
            mock_session,
            WEBHOOK_MESSAGE["escrow_address"],
            WEBHOOK_MESSAGE["chain_id"],
            "job_launcher",
            WEBHOOK_MESSAGE_SIGNED,
        )