@isTest public with sharing class PromotioDaoTest { static testMethod void Test01() { PromotioDao prDao = new PromotioDao(); Integer page = 1; Integer pageLimit = 3; String search = ''; String sortOrder = ''; String sortPlus = 'Id'; String[] arr = new String[] {'PromotionNo__cEqual','NameEqual'}; PagePlus pages = prDao.GetPromotionPromotionSearchFn(page,pageLimit,search,sortOrder,sortPlus,arr); PagePlus pages2 = prDao.GetNormalProductSearchFn(page,pageLimit,search,sortOrder,sortPlus,arr); PagePlus page3 = prDao.GetAuthorizerSearchFn(page,pageLimit,search,sortOrder,sortPlus,arr); } static testMethod void Test02() { PromotioDao prDao = new PromotioDao(); Integer page = 2; Integer pageLimit = 3; String search = ''; String sortOrder = ''; String sortPlus = 'Id'; String[] arr = new String[] {'PromotionNo__cEqual','NameEqual'}; PagePlus pages = prDao.GetPromotionPromotionSearchFn(page,pageLimit,search,sortOrder,sortPlus,arr); PagePlus pages2 = prDao.GetNormalProductSearchFn(page,pageLimit,search,sortOrder,sortPlus,arr); PagePlus page3 = prDao.GetAuthorizerSearchFn(page,pageLimit,search,sortOrder,sortPlus,arr); } }