+ 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