| | |
| | | strList.add('Lead'); |
| | | strList.add('Contact'); |
| | | strList.add('Inquiry_form__c'); |
| | | strList.add('LeadV2'); |
| | | TestDataUtility.CreatePIPolicyConfigurations(strList); |
| | | } |
| | | static testMethod void testMethod1() { |
| | | |
| | | Test.setMock(HttpCalloutMock.class, new TestDataUtility.CreateMetaDataUtilityHttpMock()); |
| | | Test.startTest(); |
| | | Lead leadTest = new Lead(); |
| | | Contact cont = new Contact(); |
| | |
| | | static testMethod void testMethod3() { |
| | | Lead leadTest = new Lead(); |
| | | String url = ApexPages.currentPage().getParameters().put('CF00N10000006ps6f_lkid','000000000000000'); |
| | | // ApexPages.currentPage().getParameters().put('CF00N10000002CvC5_lkid','000000000000000'); |
| | | // ApexPages.currentPage().getParameters().put('CF00N10000002CvC5','000000000000000'); |
| | | // ApexPages.currentPage().getParameters().put('CF00N10000002CvC5','000000000000000'); |
| | | |
| | | |
| | | |
| | | url = ApexPages.currentPage().getParameters().put('RecordType','01210000000QiRf'); |
| | | Test.startTest(); |
| | | try{ |