def test_array_values(self):
     php_array = phpfunctions.array(("a", "a"), ("b", "b"))
     reindexed_array = phpfunctions.array_values(php_array)
     self.assertEqual("a", reindexed_array[0])
     self.assertEqual("b", reindexed_array[1])
     self.assertRaises(KeyError, reindexed_array.__getitem__, "a")