Atlantic18/DoctrineExtensions — pull request #1034 by timdev (2014-04-04 21:31:45+00:00)
Title: Allow EntityWrapper to also wrap EntityManagerDecorators 

Or anything that implements EntityManagerInterface.

I ran into the issue using NestedTree. I modified BaseTestCaseORM to decorate the mocks returned by the three getMock*EntityManager() methods, and fixed all tests that failed by changing EntityWrapper to type-hint EntityManagerInterface instead of EntityManager.