Ask Question
25 May, 17:10

Which statement is unnecessary inside the unit test for the custom controller?

A developer has a single custom controller class that works with a visualforce wizard to support creating and editing multiple SObjects. The wizard accepts data from user inputs across multiple visualforce apges and from a parameter on the initial URL.

A. Public Extendedcontroller (apexPages. StandardController cntrl) {}

B. Apex. Pages. CurrentPage (). getParameters (). put (input, TestValue);

C. Test. setCurrentpage (pageRef);

D. String nextpage = controller. save (). getURL ();

+3
Answers (1)
  1. 25 May, 18:58
    0
    A. public ExtendedController (ApexPages. StandardController cntri) { }

    Explanation:

    A wizard is generally referred to as the tab sequence that contains the back button as well as the next button. It usually accepts information (i. e. data) from the inputs of users from different pages of the visualfoce as well as a variable from the previous website. The statement in option A is unnecessary for the application of the custom controller.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “Which statement is unnecessary inside the unit test for the custom 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