def METHOD_NAME(self):
    """Test function _get_attribute_value()."""
    analyzer = feature_extraction.FeatureExtractionSketchPlugin("test_index", 1)
    current_val = ["hello"]
    extracted_value = ["hello"]
    # pylint: disable=protected-access
    new_val = analyzer._get_attribute_value(
        current_val=current_val,
        extracted_value=extracted_value,
        keep_multi=True,
        merge_values=True,
        type_list=True,
    )
    new_val.sort()
    self.assertEqual(new_val, ["hello"])
    current_val = ["hello"]
    extracted_value = ["hello2", "hello3"]
    # pylint: disable=protected-access
    new_val = analyzer._get_attribute_value(
        current_val, extracted_value, True, True, True
    )
    new_val.sort()
    self.assertEqual(new_val, ["hello", "hello2", "hello3"])
    current_val = ["hello"]
    extracted_value = ["hello2", "hello3"]
    # pylint: disable=protected-access
    new_val = analyzer._get_attribute_value(
        current_val, extracted_value, False, True, True
    )
    new_val.sort()
    self.assertEqual(new_val, ["hello", "hello2"])
    current_val = ["hello"]
    extracted_value = ["hello2", "hello3"]
    # pylint: disable=protected-access
    new_val = analyzer._get_attribute_value(
        current_val, extracted_value, False, False, True
    )
    new_val.sort()
    self.assertEqual(new_val, ["hello2"])
    current_val = ["hello"]
    extracted_value = ["hello2", "hello3"]
    # pylint: disable=protected-access
    new_val = analyzer._get_attribute_value(
        current_val, extracted_value, True, False, True
    )
    new_val.sort()
    self.assertEqual(new_val, ["hello2", "hello3"])
    current_val = "hello"
    extracted_value = ["hello2", "hello3"]
    # pylint: disable=protected-access
    new_val = analyzer._get_attribute_value(
        current_val, extracted_value, True, True, False
    )
    self.assertEqual(new_val, "hello,hello2,hello3")
    current_val = "hello"
    extracted_value = ["hello2", "hello3"]
    # pylint: disable=protected-access
    new_val = analyzer._get_attribute_value(
        current_val, extracted_value, False, True, False
    )
    self.assertEqual(new_val, "hello,hello2")
    current_val = "hello"
    extracted_value = ["hello2", "hello3"]
    # pylint: disable=protected-access
    new_val = analyzer._get_attribute_value(
        current_val, extracted_value, True, False, False
    )
    self.assertEqual(new_val, "hello2,hello3")
    current_val = "hello"
    extracted_value = ["hello2", "hello3"]
    # pylint: disable=protected-access
    new_val = analyzer._get_attribute_value(
        current_val, extracted_value, False, False, False
    )
    self.assertEqual(new_val, "hello2")