def METHOD_NAME(self):
    values = pd.Series(["a_2", "a_3", "a_1", "a_2", "a_3", "a_1", "a_2", "a_3", "a_1"])
    cat_values = convert_to_ordered_category(values)
    self.assertEqual(cat_values.cat.categories[0], "a_1")