def METHOD_NAME(
    mocker, client, card_tokenize_form_data, mocked_analytics_module, model_EligibilityType
):
    mock_response = mocker.Mock()
    mock_response.success = True
    mocker.patch("benefits.enrollment.views.api.Client.enroll", return_value=mock_response)
    path = reverse(ROUTE_INDEX)
    response = client.post(path, card_tokenize_form_data)
    assert response.status_code == 200
    assert response.template_name == TEMPLATE_SUCCESS
    mocked_analytics_module.returned_success.assert_called_once()
    assert model_EligibilityType.group_id in mocked_analytics_module.returned_success.call_args.args