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
CevicheroCevichero 

How do you create a test method for a controller used in a VF email template?

 

How do I instantiate the "Page" in a VF email template. 

I have VF email template that contains a component, the component uses a custom controller. Can anyone please provide an example of a test method in this scenario?

 

Thanks in advance.