Mock Happy

Definition:

  • If one uses too many mock objects that interact with each other, the test will only test the interaction between them instead of the functionality of the production code.

Also Known As:

  • The Mockery

References:

Quality attributes

  • - Code Example

  • - Cause and Effect

  • - Frequency

  • - Refactoring