@isTest public with sharing class QuoteTrialServiceTest { static testMethod void Test01() { QuoteTrialService prDao = new QuoteTrialService(); Integer page = 1; Integer pageLimit = 3; String search = ''; String sortOrder = ''; String sortPlus = 'Id'; String[] arr = new String[] {'PromotionNo__cEqual','NameEqual'}; String Agency1c = '123456'; 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,Agency1c); } static testMethod void Test02() { QuoteTrialService prDao = new QuoteTrialService(); Integer page = 2; Integer pageLimit = 3; String search = ''; String sortOrder = ''; String sortPlus = 'Id'; String[] arr = new String[] {'PromotionNo__cEqual','NameEqual'}; String Agency1c = '123456'; 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,Agency1c); } }