@IsTest private class LexUtilityTest { @IsTest <<<<<<< HEAD static void testMethod1() { User currentUser = [SELECT Id FROM User WHERE Id = :UserInfo.getUserId()]; NoteStay__c n = new NoteStay__c(Name = 'NoteStay', IsStay__c = true); ======= static void testMethod1(){ User currentUser = [SELECT Id FROM User WHERE Id = :UserInfo.getUserId()]; NoteStay__c n = new NoteStay__c(Name = 'NoteStay',IsStay__c = true); >>>>>>> LEXCommunityLiJun insert n; LicenceReminderDate__c l = new LicenceReminderDate__c(Name = '180Days', ReminderDays__c = 180); insert l; Test.startTest(); <<<<<<< HEAD System.runAs(currentUser) { ======= System.runAs(currentUser){ >>>>>>> LEXCommunityLiJun LexUtility.getIsNoteStay(); LexUtility.getLicenceReminderDays(); } Test.stopTest(); } <<<<<<< HEAD } ======= } >>>>>>> LEXCommunityLiJun