function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
BeatofHeartBeatofHeart 

Test class

 public class iframe{     
 2        
 3       
 4         public String getEncoded() {  
 5                              
 10               return  System.label.BI_framework;  
               // BI framework is custom label which contains a URL .          
//ex http:// google.com 12 } 13 14 }

 Team i need help on writing test class for this. this is  a APEX class which is referring in VF page. any help would br greatly appriciated.

Best Answer chosen by Admin (Salesforce Developers) 
BeatofHeartBeatofHeart

Thank you,, really appriciated.

All Answers

Avidev9Avidev9
did you try something like this ?

@isTest
private class iframeTest{
static testMethod void iframeTesting(){
new iframe().getEncoded();
}
}
BeatofHeartBeatofHeart

Thank you,, really appriciated.

This was selected as the best answer