padraic/mockery — pull request #81 by davedevelopment (2012-09-04 13:47:12+00:00)
Title: Add __toString method to mocks and undefined objs

* Avoids E_RECOVERABLE_ERROR
* Allows mocking of __toString

Not put a load of thought in to this, but needed this functionality to get some tests passing without polluting my tests too much.