You need to sign in to do that
Don't have an account?
Ken Koellner @ Engageware
Testing Gap Events in Change Data Capture Apex Triggers
I'm writing Apex trigger code to handle Change Data Capture. I've written test methods to handle change events. But I've also written code to hanlde GAP_CREATE, GAP_UPDATE, GAP_UNDELETE, GAP_UNDELETE, and GAP_OVERFLOW. I don't see anything in the documentation to simulate those Events. Regular DMLs can be done and Test.spot() can be used to send the regular Events.
Anyone know how to send these Events in an Apex Test Method?
(Please, if you knowledge does not extend to handling GAP events in CDC, do not answer with some other answer that is not germane to this question.)
Anyone know how to send these Events in an Apex Test Method?
(Please, if you knowledge does not extend to handling GAP events in CDC, do not answer with some other answer that is not germane to this question.)