def METHOD_NAME(self):
    target = ClassFactory.create(
        attrs=[AttrFactory.reference("enumeration", forward=True)],
        inner=[ClassFactory.enumeration(2, qname="enumeration")],
    )
    self.container.add(target)
    self.container.process_classes(Steps.FLATTEN)
    self.assertEqual(2, len(list(self.container)))
    for obj in self.container:
        self.assertEqual(Status.FLATTENED, obj.status)