1
2
3
4
5
6
7
8
9
10
11
@isTest
private class RepairSoUpdHandlerTest {
    static testMethod void testMethod1() {
        RepairSubOrder__c nObj = new RepairSubOrder__c();
        nObj.Name = 'testRepairSubOrder__c01';
        nObj.Status__c = '待处理';
        insert nObj;
        nObj.Status__c = '关闭';
        update nObj;
    }
}