code: def test_validate_feature_processor_pipeline_events(
      event_bridge_rule_helper,
  ):
      events = [
          FeatureProcessorPipelineEvents(
              pipeline_name="test_pipeline_1",
              pipeline_execution_status=[
                  FeatureProcessorPipelineExecutionStatus.SUCCEEDED
              ],
          ),
          FeatureProcessorPipelineEvents(
              pipeline_name="test_pipeline_1",
              pipeline_execution_status=[
                  FeatureProcessorPipelineExecutionStatus.FAILED
              ],
          ),
      ]
  
      with pytest.raises(
          ValueError,
          match="Pipeline names in pipeline_events must be unique.",
      ):
          event_bridge_rule_helper._validate_feature_processor_pipeline_events(
              events
          )
  
imports: from __future__ import absolute_import
  from mock import Mock
  from sagemaker.session import Session
  from sagemaker.feature_store.feature_processor._event_bridge_rule_helper import EventBridgeRuleHelper
  from botocore.exceptions import ClientError
  from sagemaker.feature_store.feature_processor._feature_processor_pipeline_events import FeatureProcessorPipelineEvents, FeatureProcessorPipelineExecutionStatus
  import pytest
label_desc: Use image node_id 15 for calling a global function with example usage: test_validate_feature_processor_pipeline_events(event_bridge_rule_helper) without return types