@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);
|
}
|
}
|