Ask Question

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 ();

+2
Answers (1)
  1. 12 July, 20:43
    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 & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers