buli
2022-05-14 ead4df22dca33a867279471821ca675f91dec760
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
@isTest
private class SoqlHelperTest {
    static testMethod void testMethod1() {
        String sql = 'SELECT Id,Name FROM Contact WHERE Name != null Limit 1';
        Test.startTest();
        //ToInCondition
        //UpsertList
        Set<string> strSet = new Set<string>{'12321','ewqewq'};
        SoqlHelper.ToInCondition(strSet);
       // SoqlHelper.ToInCondition(lartest, key);
        SoqlHelper.DistinctQueryFields(sql);
        SoqlHelper.WId('wdeqdwqwq');/*
        SoqlHelper.InsertList(new List<Contact>{con});
        SoqlHelper.UpdateList(new List<Contact>{con});
        SoqlHelper.DeleteList(new List<Contact>{con});
        SoqlHelper.DeleteListAsync(conidList);*/
        Test.stopTest();
 
    }
}