code: def test_fail_step_with_properties_ref():
      fail_step = FailStep(
          name="MyFailStep",
          error_message="Test error message",
      )
  
      with pytest.raises(Exception) as error:
          fail_step.properties()
  
      assert (
          str(error.value)
          == "FailStep is a terminal step and the Properties object is not available for it."
      )
  
file_path: sagemaker-python-sdk/tests/unit/sagemaker/workflow/test_fail_step.py
imports: from __future__ import absolute_import
  import json
  import pytest
  from sagemaker.workflow.condition_step import ConditionStep
  from sagemaker.workflow.conditions import ConditionEquals
  from sagemaker.workflow.fail_step import FailStep
  from sagemaker.workflow.functions import Join
  from sagemaker.workflow.parameters import ParameterInteger
  from sagemaker.workflow.pipeline import Pipeline, PipelineGraph
  from tests.unit.sagemaker.workflow.helpers import ordered
label_desc: Use image node_id 4 for calling a global function with example usage: test_fail_step_with_properties_ref() without return types