You need to sign in to do that
Don't have an account?
Nidhi Meshram
how to cover empty method in a test class
Trigger having all the events so in handler there are two methods which i not able to cover how to cover this methods:-
public void afterDelete(SObject so) {
}
public void afterUndelete(SObject so) {
}
public void afterDelete(SObject so) {
}
public void afterUndelete(SObject so) {
}
All Answers
You can do like this:
ClassName.afterDelete(Pass object name here);
ClassName.afterUndelete(Pass Object name here);
check here the best collection of lord shiva quotes (https://www.statusvideosguru.com/2019/12/lord-shiva-quotes-status.html)
Regard, (https://packagespoint.com)
Armed with an experience of many decades, the company’s R&D division is consistently dedicated to produce new age products. Sakarni Power Putty being one of those products is prepared with an international grade of formulation where quality wall putty (https://sakarni.com/wall-putty/ i) is of paramount at every step beginning with the detailed selection to the procurement of the raw material and delivery of the end product at the doorstep. In Sakarni Power Putty white cement,
As we are not aware of your data model and validations so we can't suggest anything on what error should be thrown in your test class.
My Test on: https://seotoolcheckers.com/
if you like Shayari and feeling sad check out here the collection latest sad Shayari with images (https://shayariaboutlove.co/sad-shayari-with-images/) in Hindi
As we are not aware about your data version and validations so we can't endorse something on what errors have to be thrown on your take a look at magnificence.
article rewritter (https://smallseotoolscom.com/small-seo-tools-article-rewriter/)
plagrism checker (https://smallseotoolscom.com/small-seo-tools-plagiarism-checker/)