@isTest
private class FrameNumControllerTest {
    static testMethod void testMethod1() {
        FrameNumManage__c nObj1 = new FrameNumManage__c();
        nObj1.Name = 'test1';
        nObj1.ManagementCode__c = '22R';
        nObj1.ApplyList__c = 'test1';
        nObj1.SerialNumber__c = 'ABCDEFG';
        nObj1.Num__c = 1;
        nObj1.Material__c = 'test1';
        nObj1.MaterialDepict__c = 'test1';
        insert nObj1;
        FrameNumManage__c nObj1_1 = new FrameNumManage__c();
        nObj1_1.Name = 'test1';
        nObj1_1.ManagementCode__c = '22R';
        nObj1_1.ApplyList__c = 'test1';
        nObj1_1.SerialNumber__c = 'ABCDEFG';
        nObj1_1.Num__c = 1;
        nObj1_1.Material__c = 'test1';
        nObj1_1.MaterialDepict__c = 'test1';
        insert nObj1_1;
        FrameNumManage__c nObj1_2 = new FrameNumManage__c();
        nObj1_2.Name = 'test1';
        nObj1_2.ManagementCode__c = '22R';
        nObj1_2.ApplyList__c = 'test2';
        nObj1_2.SerialNumber__c = 'ABCDEFG';
        nObj1_2.Num__c = 1;
        nObj1_2.Material__c = 'test1';
        nObj1_2.MaterialDepict__c = 'test1';
        insert nObj1_2;

        FileAddress__c  nObj2 = new FileAddress__c();
        // nObj2.Name = 'test1';
        nObj2.FileName__c = 'test1';
        nObj2.ViewLink__c = 'https://www.baidu.com';
        insert nObj2;
        FileAddress__c  nObj2_1 = new FileAddress__c();
        // nObj2.Name = 'test1';
        nObj2_1.FileName__c = 'test2';
        nObj2_1.ViewLink__c = 'https://www.baidu.com';
        insert nObj2_1;
        FrameNumController con = new FrameNumController();
        con.init();
    }
}