def METHOD_NAME(self):
    path = self._get_path("notifications", "get_settings_for_user_by_projects")
    NotificationSetting.objects.update_settings(
        ExternalProviders.EMAIL,
        NotificationSettingTypes.ISSUE_ALERTS,
        NotificationSettingOptionValues.ALWAYS,
        user_id=self.user.id,
    )
    data = {
        "args": {
            "type": 20,
            "user_id": self.user.id,
            "parent_ids": [self.project.id],
        }
    }
    response = self._send_post_request(path, data)
    assert response.status_code == 200
    response_body = response.json()
    setting = NotificationSetting.objects.filter(user_id=self.user.id).get()
    assert response_body["value"] == [
        {
            "id": setting.id,
            "scope_type": NotificationScopeType.USER.value,
            "scope_identifier": self.user.id,
            "target_id": response_body["value"][0]["target_id"],
            "team_id": None,
            "user_id": self.user.id,
            "provider": ExternalProviders.EMAIL.value,
            "type": NotificationSettingTypes.ISSUE_ALERTS.value,
            "value": 20,
        }
    ]