How can I access a remote action from a test class? Here is what I have so far:
@remoteAction
public static Boolean createCaseRA(String newJCase,String prevCase){
system.debug('Remote Prev Case>>>>'+prevCase);
Case prevDTCase = new Case();
How can I access a remote action from a test class? Here is what I have so far:
@remoteAction
public static Boolean createCaseRA(String newJCase,String prevCase){
system.debug('Remote Prev Case>>>>'+prevCase);
Case prevDTCase = new Case();
Best Answer
Accessing a remote action method is the same as accessing any other static method: