I have a test class that is basically covering a class which has structure like
public class classA {
public class classB implements Triggers.Handler {
public void handle(){
---some code----
}
}
}
I have a trigger on object, something like
trigger someTrigger on someObject(before insert, before update) {
new Triggers()
.bind(Triggers.Evt.beforeInsert, new classA.classB())
.manage();
}
I am inserting someObject in the test class and I also see its going into the ClassB in debug logs, but the code coverage for classA is showing as 0%. I have no idea what the issue is. Any thoughts or help??