liuyn
2024-03-11 a87f1c3df03078814ee97ad0c8ac200a232419e9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
@isTest
private class ConsumApplyEquipmentSetDefaultControTest {
    @testSetup static void setupTestData(){
        ConsumTestDataFactory factory = new ConsumTestDataFactory();
        factory.setupTestData();
        factory.selectDetails(2);
        TestDataUtility.CreatePIPolicyConfiguration();
    }
    @isTest
    static void tesMethod1(){
        List<Consum_Apply__c> apply = [SELECT Id FROM Consum_Apply__c  LIMIT 1];
        ConsumApplyEquipmentSetDefaultController.defaultSelect(apply[0].Id);
    }
}