I am using Apex DML mocking using stub api and got a reference from multiple blogs, https://github.com/packocz/Pragmatic-Bear-Blog https://github.com/Coding-With-The-Force/Salesforce-Development-Tutorials/tree/main/DML_Mocking https://github.com/gscloudsolutions/GS-Apex-Mocking-Framework
Tried all of them but somehow trigger is not getting called. I am using after insert and before update events in trigger.
So, from test class using mock framework, I am generating the Id and I see the Id is generated in logs. So, expecting trigger should get fired. so, It will cover the code of handler and helper classes.
Please guide me on this if anything i am missing.