@isTest
private class DataBasePlusTest extends BaseController{
    static testMethod void testMethod1() {
        // DataBasePlus.ControllerUtil();
        List<SObjectField> sObjectFieldList  = new List<SObjectField>();
        DataBasePlus datbasplus=new DataBasePlus();
        QueryWrapper query = new QueryWrapper(PromotionHead__c.SObjectType);
        Schema.DescribeSobjectResult d = PromotionHead__c.sObjectType.getDescribe();
        Map<String,Schema.SObjectField> mfields = d.fields.getMap();
        for(String strField:mfields.keySet()) {
            SObjectField fl = mfields.get(strField);
            if(fl!=null){
                sObjectFieldList.add(fl);
            }
        }
        query.setSObjectFieldList(sObjectFieldList);
        DataBasePlus.getOne(query,true);
        DataBasePlus.listPlus(query);
        QuoteTrialService prDao = new QuoteTrialService();
        Integer page = 1;
        Integer pageLimit = 3;
        String search = '%7B%22NameInDate%22:%222019%22,%22PromotionNo__cEqual%22:%22123%22%7D';
        String sortOrder = '';
        String sortPlus = 'Id';
        String[] arr = new String[] {'PromotionNo__cEqual','NameInDate'}; 
        String Agency1c = '123456';
        PagePlus pages = prDao.GetPromotionPromotionSearchFn(page,pageLimit,search,sortOrder,sortPlus,arr);  
        
    }
}