Salesforce For YOU
ads
Wednesday, 29 August 2018
Cover the test coverage for getURL method
To cover the test coverage for getURLmethod, use
Test.setCurrentPage(Page.PageName
).
Test.setCurrentPage(Page.PageName) will help you to cover the codes which makes use of ApexPages.currentPage().getUrl().
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment