You need to sign in to do that
Don't have an account?
ANITHA BEEMU
can anyone help for test class:
Hi can any one help for writing a test class for ths:
public class LoanDocumentGenrate{
private final LLC_BI__Loan__c ln;
public LoanDocumentGenrate(ApexPages.StandardController stdController) {
this.ln = (LLC_BI__Loan__c)stdController.getRecord();
}
public PageReference pgclose() {
PageReference pgref = new PageReference('/' + ln.Id);
pgref.setRedirect(true);
return pgref;
}
}
public class LoanDocumentGenrate{
private final LLC_BI__Loan__c ln;
public LoanDocumentGenrate(ApexPages.StandardController stdController) {
this.ln = (LLC_BI__Loan__c)stdController.getRecord();
}
public PageReference pgclose() {
PageReference pgref = new PageReference('/' + ln.Id);
pgref.setRedirect(true);
return pgref;
}
}
Hope you are doing great.
Please go through below code.
Thanks,
Foram Rana