When using stubs, the main focus is on ______ rather than on verifying interactions between objects.

  • State
  • Behavior
  • Structure
  • Performance
When using stubs in testing, the main focus is on the state of the object, such as returning predefined values, rather than on verifying interactions between objects. Stubs are used to control the behavior of the object under test without asserting specific interactions.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *