A mock library for callables and classes in PHP