These are software components used to replace the real component during testing. Could be used to:

  • Represent components not yet implemented
  • Reduce cost
  • Avoid unrecoverable actions
  • Speed up testing Mockito is a testing framework that creates mock objects.