[Halo] add functions to mock/unmock a method

Review Request #323 — Created July 9, 2014 and submitted — Latest diff uploaded

tardypad
Lunr
tardypad:phpunit-4.1.3-mock_method
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


Loading...