Hold on!

Warning: this link might be unsafe, please double check the link before you proceed.

https://devhubby.com/thread/how-to-mock-a-static-method-in-phpunit