/* * 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(); } }