1.

Explain Unit Testing Using Mock Objects?

Answer»

The common coding style for TESTING with mock objects is to −

  • Create INSTANCES of mock objects.
  • SET state and expectations in the mock objects.
  • Invoke DOMAIN code with mock objects as parameters.
  • Verify consistency in the mock objects.

The common coding style for testing with mock objects is to −



Discussion

No Comment Found