[Halo] add functions to mock/unmock a method
Review Request #323 — Created July 9, 2014 and submitted — Latest diff uploaded
Information | |
---|---|
tardypad | |
Lunr | |
tardypad:phpunit-4.1.3-mock_method | |
Reviewers | |
lunr | |
Can be used to mock static methods using runkit since phpunit doesn't allow it anymore Can be used as well to mock a function f1 in a class when testing another function f2 that is calling f1
Diff Revision 2
This is not the most recent revision of the diff. The latest diff is revision 3. See what's changed.
orig
1
2
3
src/Lunr/Halo/LunrBaseTest.php |
---|