You need to sign in to do that
Don't have an account?
Prince Venkat
Test class for parameters
How to add parameterized method in testclass.
My sample class
public class Training{
public static void work (Account accRec){
----------
-------
}
how to write test class for this
@isTest
private class testClass
{
testmethod static void myTest ()
{
test.starttest();
Training.work ();
test.stoptest();
}
}
getting error
Any Assistance
My sample class
public class Training{
public static void work (Account accRec){
----------
-------
}
how to write test class for this
@isTest
private class testClass
{
testmethod static void myTest ()
{
test.starttest();
Training.work ();
test.stoptest();
}
}
getting error
Any Assistance
Try Below Test Class Please Mark It As Best Answer If It Helps
Thank You!