def METHOD_NAME(self):
    enums = 'enum x{a}; enum y{b, c};'
    enums = parse_all_enums(enums, {})
    expected = [Enum('x', '', [EnumItem('a', 0)]),
                Enum('y', '', [EnumItem('b', 0), EnumItem('c', 1)])]
    self.assertEqual(enums, expected)