def METHOD_NAME(self):
    b = SchemaBuilder()
    b.add_class(
        MY_CLASS,
        [
            SlotDefinition(ID, identifier=True),
            SlotDefinition(FULL_NAME, description="full name", range="string"),
            SlotDefinition(DESC, description="description"),
        ],
    )
    b.add_class(
        MY_CLASS2,
        [
            SlotDefinition(FULL_NAME, description="full name2", range="string"),
            SlotDefinition(DESC, description="description"),
        ],
        replace_if_present=True,
    )
    s = b.schema
    fixer = SchemaFixer()
    fixer.attributes_to_slots(s, remove_redundant_slot_usage=True)
    c = s.classes[MY_CLASS]
    self.assertCountEqual([ID, FULL_NAME, DESC], c.slots)
    self.assertEqual({}, c.attributes)
    self.assertEqual(s.slots[FULL_NAME].name, FULL_NAME)
    self.assertEqual(s.slots[DESC].name, DESC)