1
2
3
4
5
6
7
8
9
10
11
12
13
| @isTest
| public class LostByCompanyTest {
| static testMethod void TestInit01() {
| PageReference ref = new PageReference('/apex/LostByCompany?l=0&q=迈瑞' );
| Test.setCurrentPage(ref);
| LostByCompany test1= new LostByCompany();
| test1.getIsOverLimit();
| test1.search();
| test1.searchOne();
| test1.getIsOverLimit();
|
| }
| }
|
|