Ask Question
5 July, 06:55

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. 5 July, 10:37
    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?
Get 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 & 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