Move mock object name into a constant.
Cleaning up the answer code significantly, no more logic branches for delegate vs. undelegated answers. Thank you closures.
 Cleaning up the answer code significantly, no more logic branches for delegate vs. undelegated answers. Thank you closures.
Added a static mock info object to every class and make Phake::getInfo context aware.
Updated the necessary classes (call, phake::getInfo/Name, InvocationHandlers) to accept either a mock instance or mock class name.
Static method calls can be verified.

Bear in mind getting the mock's static method to be the one called is not necessarily straightforward.
Phake::resetStaticInfo() resets all static mock measurements. Should  be ran after every test.
Implement Phake::verifyStaticCallMethodWith to validate calls to __callStatic directly.
Verified that ordered verification works with static method calls...wonder how I did that.
Phake::verifyNoFurtherInteraction() also checks for calls against static methods on the class.
Phake::verifyNoInteraction() now also checks statics
Phake::whenStatic() can now be used to set stubs for static methods.
 Phake::whenStaticCallMethodWith() now stubs explicitly calls to __callStatic()
Phake::resetStatic() will reset the static stubs and static call recordings for a class
enabling test
Merge pull request #135 from mlively/test-statics

Enable stubbing and verification of static methods