-1

I am looking at the solution on how to call the invocable method with different data points How invocable method and bulk behavior in Process Builder work? I am calling this invocable method from Process builder

But I do I write test class?

1
  • 2
    Hi Uma, welcome to SFSE. Please take a moment to scroll through the tour and read How to Ask. The format here is to ask specific questions about a solution you have tried to implement and where you are stuck. Trying to solve the problem yourself is a vital first step in the process of getting value out of this site. The more research/development you do before posting, the better received your questions will be. Basic how to questions and broad requests for advice are a bad fit for this forum and are often perceived negatively, downvoted and/or closed as off topic.
    – Adrian Larson
    Oct 12 '18 at 19:33
2

A great place to start would be:

Also, here's some simple examples:

And this example has a test class:

Not the answer you're looking for? Browse other questions tagged or ask your own question.