phpunit
Implemented spy and stub functions.