黄千龙
2022-04-08 01f207d979d6be17c8cdec293feab48828c0ec3e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
 * Author: Guo, Aline Yaying
 * Created Date: 03/22/2022
 * Purpose: Test Class
 * History: 
 *      03/22/2022 - Guo, Aline Yaying - Initial Code.
 * 
 * */
@isTest
private class NewAndEditEventControllerTest {
    static testMethod void testMethod4() {
     
        TestDataUtility.CreatePIPolicyConfiguration();
        Test.setMock(HttpCalloutMock.class, new TestDataUtility.CreateMetaDataUtilityHttpMock());
        Event eventTest = TestDataUtility.CreateEvent(1)[0];
 
        Test.startTest();
        ApexPages.StandardController con =  new ApexPages.StandardController(eventTest);
        NewAndEditEventController event = new NewAndEditEventController(con);
        Test.stopTest();
    }
}