def METHOD_NAME(self):
    # first api sets it to delete
    actual_attributes = self.shared_usage_plan.get_combined_resource_attributes(
        {"UpdateReplacePolicy": "Delete"}, {}
    )
    self.assertEqual(actual_attributes["UpdateReplacePolicy"], "Delete")
    # then second api sets it to Retain
    actual_attributes = self.shared_usage_plan.get_combined_resource_attributes(
        {"UpdateReplacePolicy": "Snapshot"}, {}
    )
    self.assertEqual(actual_attributes["UpdateReplacePolicy"], "Snapshot")
    # if third api sets it to delete, it should keep retain value
    actual_attributes = self.shared_usage_plan.get_combined_resource_attributes(
        {"UpdateReplacePolicy": "Delete"}, {}
    )
    self.assertEqual(actual_attributes["UpdateReplacePolicy"], "Snapshot")
    # if third api sets it to delete, it should keep retain value
    actual_attributes = self.shared_usage_plan.get_combined_resource_attributes(
        {"UpdateReplacePolicy": "Retain"}, {}
    )
    self.assertEqual(actual_attributes["UpdateReplacePolicy"], "Retain")
    # if third api sets it to delete, it should keep retain value
    actual_attributes = self.shared_usage_plan.get_combined_resource_attributes(
        {"UpdateReplacePolicy": "Snapshot"}, {}
    )
    self.assertEqual(actual_attributes["UpdateReplacePolicy"], "Retain")
    # if third api sets it to delete, it should keep retain value
    actual_attributes = self.shared_usage_plan.get_combined_resource_attributes(
        {"UpdateReplacePolicy": "Delete"}, {}
    )
    self.assertEqual(actual_attributes["UpdateReplacePolicy"], "Retain")