Ask Question
13 December, 07:18

Which statements is unnecessary inside the unit test for thecustom controller? A developer has a single custom controller class that works with a Visualforce to support creating and editing multiple Objects. The wizard accepts data from user inputs across multiple Visualforce pages and from a parameter on the initial URL.

A. ApexPages. currentPage (). getParameter. put ('input','Testvalue')

B. String nextPage = controller. save (). getUrl ();

C. Public ExtendedController (ApexPages. StandardController cntrl) {}

D. Test. setCurrentPage (PageRef)

+4
Answers (1)
  1. 13 December, 10:46
    0
    The correct option to the following question is B.) String nextPage = controller. save (). getUrl ();.

    Explanation:

    Custom Controller class is the Apex class by which implements all the logic's to the page without the leveraging the controller.

    We use the custom controller when we wants the Visualforce pages for run entirely in the system modes and it does not the enforce permissions and the field level securities of a current user.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “Which statements is unnecessary inside the unit test for thecustom controller? A developer has a single custom controller class that works ...” in 📘 Computers and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers