There is no way to test this other than actually bringing a link down. We have an open enhancement request to add SNMP trap testing capabilities to IOS (CSCsb74381). IT will slowly be integrated into newer versions of IOS. The command will be "test snmp trap".