@isTest
private class SearchLeadControllerTest {
    static testMethod void testMethod1() {
    	TestDataUtility.CreatePIPolicyConfiguration('Lead');
        // Lead ld = TestDataUtility.CreateLead(1)[0];
        Lead ld = new Lead();
        ld.LastName = 'test';
        ld.Email = 'test@olympus.com';
        ld.company = 'TestCompany';
        ld.AWS_Data_Id__c = 'vjmpmwevkdmqwv';
        insert ld;
        
        // update ld;
        List<String> awsList = new List<String>();
        awsList.add(ld.AWS_Data_Id__c);
        String awsListJson = JSON.serialize(awsList);

        Test.startTest();
        SearchLeadController slc = new SearchLeadController();
        SearchLeadController.searchLeads(awsListJson);
        Test.stopTest();
    }
}