def METHOD_NAME(mocker):
    # Given
    mocked_forward_trait_request = mocker.patch(
        "edge_api.identities.edge_request_forwarder.forward_trait_request_sync",
        autospec=True,
    )
    request_method = "POST"
    headers = {"X-Environment-Key": "test_api_key"}
    project_id = 1
    payload = [
        {"identity": {"identifier": "test_user_123"}},
        {"identity": {"identifier": "test_user_456"}},
    ]
    # When
    forward_trait_requests(request_method, headers, project_id, payload)
    # Then
    mocked_forward_trait_request.assert_has_calls(
        [
            mocker.call(request_method, headers, project_id, payload[0]),
            mocker.call(request_method, headers, project_id, payload[1]),
        ]
    )