AnsweredAssumed Answered

Hi,   I need to write a testcase to test an asynchronous process mocking some of the service tasks in it.

Question asked by durgaprasadb on Apr 17, 2018
Latest reply on Apr 23, 2018 by hari

Hi,

I need to write a testcase to test an asynchronous process mocking some of the service tasks in it. I am able to mock by extending from ActivitiTestCase class but the process doesnt wait until all jobs are done. And I am able to test async process with the help of PluggableActivitiTestCase class but in this case, I am unable to mock a service task. Not sure how to test my scenario. Your inputs are highly appreciated. Thanks in advance.

Regards,
Durga Prasad.

Outcomes