Ask Question
8 May, 12:50

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)

+3
Answers (1)
  1. 8 May, 14:11
    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?
Get 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 & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers