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
3 months agoAnnett
3 months agoRosendo
3 months agoHyun
1 months agoLashawnda
2 months agoVi
2 months agoJoaquin
2 months agoAnnamae
3 months agoKayleigh
2 months agoKristel
2 months agoLynelle
2 months agoViva
2 months agoJulio
2 months agoErasmo
3 months agoDudley
2 months agoAvery
3 months agoAndree
3 months agoRobt
4 months agoPedro
4 months agoGlendora
4 months ago