+ Start a Discussion
viktorVviktorV 

testing connection triggers

Just a short question:

I have a trigger based on connection forwarded records.  I'd like to create a test class to hold code coverage. I have some active connections in the production system on I can write the test methods

 

I want to be sure that I won't forward the test Lead in test method, when I create a PartnerNetworkRecordConnection with an active connections Id in the test method. 

 

Thanks,

Viktor