formapro / Fumocker

A php function mocker.
MIT License
7 stars 1 forks source link

[Discussion] What about to use verifyMockObjects #1

Open makasim opened 12 years ago

makasim commented 12 years ago

More details you can find here:

https://github.com/sebastianbergmann/phpunit/blob/master/PHPUnit/Framework/TestCase.php#L780

It looks like we can have one mock object per function and after the test executed phpunit itself will clean up all the stuff,