@isTest private class InventorySendMailBatchTest { static testMethod void test_method_one() { System.Test.startTest(); Id execBTId = Database.executeBatch(new InventorySendMailBatch()); System.Test.stopTest(); } }