@isTest
private class NFM112ControllerTest {
    public static String status;
    
    public class Payments_elements{
        public NFMUtil.Monitoring Monitoring;
        public Payment_element Agent;
    }
    public class Payment_element{
        public String AgentCode;
        public String AdvancePaymentFlag;
    }
    
    
    static testMethod void testMethod3(){
        Account testAccount = new Account();
        testAccount.RecordTypeId='01210000000Qem1';
        testAccount.Name = 'testAccount';
        //testAccount.Management_Code__c = '20211206';
        testAccount.Approved_Confirm_Date__c = Date.today();
        //testAccount.FirstParagraph__c = true;
        testAccount.MonthlyPayment__c = false;
        insert testAccount;
        BatchIF_Log__c testBatchLog = new BatchIF_Log__c();
        insert testBatchLog;
        NFM112Controller.ManualExecute(testBatchLog.Id);
        testAccount.MonthlyPayment__c = true;
        update testAccount;
    }

    
    static testMethod void testMethod4(){
        Account testAccount = new Account();
        testAccount.RecordTypeId='01210000000Qem1';
        testAccount.Name = 'testAccount';
        //testAccount.Management_Code__c = '20211206';
        testAccount.Approved_Confirm_Date__c = Date.today();
        //testAccount.FirstParagraph__c = true;
        testAccount.MonthlyPayment__c = true;
        insert testAccount;
        BatchIF_Log__c testBatchLog = new BatchIF_Log__c();
        insert testBatchLog;
        NFM112Controller.ManualExecute(testBatchLog.Id);
        testAccount.MonthlyPayment__c = false;
        update testAccount;
    }

    static testMethod void testMethod5(){
        Account testAccount = new Account();
        testAccount.RecordTypeId='01210000000Qem1';
        testAccount.Name = 'testAccount';
        //testAccount.Management_Code__c = '20211206';
        testAccount.Approved_Confirm_Date__c = Date.today();
        //testAccount.FirstParagraph__c = true;
        testAccount.MonthlyPayment__c = true;
        insert testAccount;
        BatchIF_Log__c testBatchLog = new BatchIF_Log__c();
        insert testBatchLog;
        NFM112Controller.executeNotFuture(null,testAccount.id);
    }

}