php_testability
php_testability copied to clipboard
Function without arguments and without return
If a function takes no arguments, can it be tested in isolation?
A class method can be tested for dependencies called (mocked methods, etc), but what can we test on a global function with no arguments and no return?