toId($enchantment); $enchantment2 = EnchantmentIdMap::getInstance()->fromId($id); self::assertTrue($enchantment === $enchantment2); } } }