Checks that the mapping is unique, meaning no two entries exist for the same oldType
Throws
if two entries with the same oldType exist
Checks that the mapping is unique, meaning no two entries exist for the same oldType
if two entries with the same oldType exist