Controller Name : Rforce_TaskUtils_CLS
My controller has a method as
public static void onAfterInsert(list <Task> listtask, boolean isInsert, Map <Id, Task> oldMap )
In my test clas, I have tried to access the above method as
Rforce_TaskUtils_CLS.onAfterInsert(List <Task> listtask, boolean isInsert, Map <Id, Task> oldMap);
It shows error like :
unexpected token: 'List' at line 13 column 38
How to resolve this?
Complete test class code is :
@isTest
public class TaskTriggerHandlerforRforce_Test {
public static testMethod void aftIns()
{
Rforce_TaskUtils_CLS.onAfterInsert(List <Task> listtask, boolean isInsert, Map <Id, Task> oldMap);
}
}