D) Verifies that expected methods are called correctly. Hmm, that sounds like the Spy functionality, not the Stub. I'll have to review my QUnit notes again.
I was leaning towards C) Returns values for method calls, but I guess that's just one part of what the Stub functionality does. Gotta love these tricky multiple-choice questions!
B) Provides parameters and return values for method calls. This is the correct answer, as the QUnit Stub functionality allows you to set up expectations for method calls, including the parameters and return values.
Kathrine
1 months agoAnnett
1 months agoRosendo
1 months agoVi
7 days agoJoaquin
20 days agoAnnamae
1 months agoLynelle
4 days agoViva
7 days agoJulio
17 days agoErasmo
2 months agoDudley
15 days agoAvery
26 days agoAndree
1 months agoRobt
2 months agoPedro
2 months agoGlendora
3 months ago