30 lines
808 B
OpenEdge ABL
30 lines
808 B
OpenEdge ABL
@istest
|
|
public class fetchCollectsForWebhooks_Test {
|
|
@istest
|
|
public static void test1(){
|
|
Test.startTest();
|
|
fetchCollectsForWebhooks f = new fetchCollectsForWebhooks('abc',true,'abc');
|
|
Test.stopTest();
|
|
System.assert(true);
|
|
}
|
|
@istest
|
|
public static void test2(){
|
|
Test.startTest();
|
|
fetchCollectsForWebhooks f = new fetchCollectsForWebhooks('abc',true);
|
|
Test.stopTest();
|
|
System.assert(true);
|
|
}
|
|
|
|
|
|
@istest
|
|
public static void test3(){
|
|
list<string> stlist= new list<string>();
|
|
stlist.add('test1');
|
|
stlist.add('test2');
|
|
Test.startTest();
|
|
fetchCollectsForWebhooks f = new fetchCollectsForWebhooks(stlist);
|
|
Test.stopTest();
|
|
System.assert(true);
|
|
}
|
|
|
|
} |