code: def test_invalid_outcome_name(self, data_type):
      iris = load_iris(as_frame=True)
      feature_names = iris.feature_names
      dataset = iris.frame
  
      if data_type == DataTypeCombinations.Incorrect:
          with pytest.raises(
              ValueError,
              match="should provide the name of outcome feature as a string",
          ):
              dice_ml.Data(
                  dataframe=dataset,
                  continuous_features=feature_names,
                  outcome_name=1,
              )
      elif data_type == DataTypeCombinations.AsNone:
          with pytest.raises(
              ValueError,
              match="should provide the name of outcome feature as a string",
          ):
              dice_ml.Data(
                  dataframe=dataset,
                  continuous_features=feature_names,
                  outcome_name=None,
              )
      else:
          with pytest.raises(
              ValueError,
              match="should provide the name of outcome feature",
          ):
              dice_ml.Data(
                  dataframe=dataset, continuous_features=feature_names
              )
  
imports: from enum import Enum
  import numpy
  import pandas
  import pytest
  from raiutils.exceptions import UserConfigValidationException
  from sklearn.datasets import load_iris
  import dice_ml
  from dice_ml.utils import helpers
label_desc: Use image node_id 3 for calling the TestErrorScenariosPublicDataInterface obj's underlying member method code with example usage: obj.test_invalid_outcome_name(data_type) without return types