https://success.salesforce.com/answers?id=9063A000000aIXnQAM
0
0
how do i write a test class for the following class.
5/28/20 at 11:53am
Organization
Salesforce.com
Authors
public  class acctTemplt<br>{<br>    public Id accountId {get;set;}<br>    public List&lt;Opportunity&gt; getopptys()<br>    {<br>        List&lt;Opportunity&gt; oppty;<br>        oppty = [SELECT Name, StageName FROM Opportunity WHERE Accountid =: accountId];…
Create an account or login to join the discussion