1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
@isTest
private class LexCICInputSolutionControllerTest {
    
 
    @isTest
    public static void testInitCICInputSolution() {
        Test.StartTest();
        Case casetemp = new Case();
        casetemp.inquiry_detail__c='test inquiry_detail__c';
        casetemp.answer_detail_content__c='test answer_detail_content__c';
        insert casetemp;
        LexCICInputSolutionController.initCICInputSolution(casetemp.Id);
      
        Test.stopTest();
    }
 
    @isTest
    public static void testInitCustomClone() {
        Test.StartTest();
        String caseRecordType = [select Id,DeveloperName from RecordType where  SobjectType = 'Case' and DeveloperName = 'CICRecordType'].Id;
        Case casetemp = new Case();
        casetemp.inquiry_detail__c='test inquiry_detail__c';
        casetemp.answer_detail_content__c='test answer_detail_content__c';
        insert casetemp;
        LexCICInputSolutionController.initCustomClone(casetemp.Id);
      
        Test.stopTest();
    }
}