• Mosammat Nargis
  • NEWBIE
  • 0 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 0
    Replies
I created a BatchApexErrorEvent Trigger and it is working as expected when the Batch is throwing CPU limit Exception. I am not able to Cover the Trigger with Test Class code. I tried using Test.getEventBus().deliver(); but the Trigger is not covered. 

Please help if anyone has written a Test Class to cover the trigger on BatchApexErrorEvent object. 

Thanks,
Nargis