sunxia
2023-03-09 7a4e110c2c3c6b14ae7c17ee96fa97cde04b4de0
1
2
3
4
5
6
7
8
9
10
11
12
13
@isTest
private class ViewParticipantsControllerTest {
    static testMethod void testMethod1() {
        TestDataUtility.CreatePIPolicyConfiguration('Contact');
        CampaignMember__c con = new CampaignMember__c();
 
        Test.startTest();
        ApexPages.StandardController sc = new ApexPages.StandardController(con);
        ViewParticipantsController vp = new ViewParticipantsController(sc);
        vp.viewContactId = '123';
        Test.stopTest();
    }
}