@isTest private class lexLookupControllerTest { static testMethod void test1(){ Test.startTest(); lexLookupController.getRecordsByName('Product2','STO','STORZ'); Test.stopTest(); } }