def METHOD_NAME(self, action_class):
    obj = action_class.objects.update_state(self.course_key, "initial_state", allow_not_found=True)
    action_class.objects.delete(obj.id)
    with pytest.raises(CourseActionStateItemNotFoundError):
        action_class.objects.find_first(course_key=self.course_key)