@isTest private class AssetMaintainHeaderHandlerTest { static testMethod void testMethod1() { AssetMaintainHeader__c header = new AssetMaintainHeader__c(); header.MaintainType__c = '冻结'; header.Date__c = System.today(); insert header; } }