You need to sign in to do that
Don't have an account?
Jax.ax1308
Test Class Help
I have built a simple controller for a Flow. Can anyone please help me with a simple test class for this?
Thanks in advance!
public class QuoteController {
public Flow.Interview.Quote myQuoteFlow { get; set; }
public String getmyID() {
if (myQuoteFlow==null) return '';
else return myQuoteFlow.AccountID;
}
public PageReference getNextPage(){
PageReference p = new PageReference('/' + getmyID() );
p.setRedirect(True);
return p;
}
}