Open makasim opened 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,
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,