def METHOD_NAME(self):
    classes = [
        ClassFactory.create(qname="{xsdata}foo", tag=Tag.ELEMENT),
        ClassFactory.create(qname="{xsdata}foo", tag=Tag.COMPLEX_TYPE),
        ClassFactory.create(qname="{xsdata}foobar", tag=Tag.COMPLEX_TYPE),
    ]
    config = GeneratorConfig()
    container = ClassContainer(config)
    container.extend(classes)
    self.assertEqual(2, len(container.data))
    self.assertEqual(3, len(list(container)))
    self.assertEqual(classes, list(container))
    actual = {
        step: [processor.__class__.__name__ for processor in processors]
        for step, processors in container.processors.items()
    }
    expected = {
        10: [
            "FlattenAttributeGroups",
        ],
        20: [
            "CalculateAttributePaths",
            "FlattenClassExtensions",
            "SanitizeEnumerationClass",
            "UpdateAttributesEffectiveChoice",
            "UnnestInnerClasses",
            "AddAttributeSubstitutions",
            "ProcessAttributeTypes",
            "MergeAttributes",
            "ProcessMixedContentClass",
        ],
        30: [
            "ResetAttributeSequences",
            "RenameDuplicateAttributes",
            "SanitizeAttributesDefaultValue",
        ],
        40: ["ValidateAttributesOverrides"],
        50: [
            "VacuumInnerClasses",
            "CreateCompoundFields",
            "ResetAttributeSequenceNumbers",
        ],
    }
    self.assertEqual(expected, actual)