I have a custom service defined by my module and in one of its methods I call a static method from a class defined by a module mine depends on. Since this method is static I do not need to instantiate an object but this also means I cannot inject the dependency. Soooo... How do I mock the static call?
Here is some psuedo code to illustrate:
use some/other/class/called/FOO
...
function myMethod() {
// Do some things...
$some_var = FOO::staticMethodToGetValue();
// Do more things...
return "something";
}