| Features | - dummies, stubs, mocks and spies from one prophecy API
- promises and argument wildcards on method prophecies
- predictions checked at the end of a test
- PHPUnit integration through prophecy-phpunit
| - mocks of classes and interfaces
- expectation DSL for calls, arguments and return values
- spies and partial mocks
- PHPUnit integration helpers
- works with any test framework
| - mock objects, test doubles and method stubs
- verify calls after running the code (Mockito-style)
- mocking static methods
- parameter matchers and answers
|