Jira issue originally created by user @doctrinebot:
This issue is created automatically through a Github pull request on behalf of intellix:
I'm attempting to mock the EntityManager so when I run unit tests on my Services, I don't want flush() to actually write to the DB.
I've narrowed down my issue to this file and this line not returning a StatementMock as a normal DriverConnection would return a Statement.
Comment created by @doctrinebot:
A related Github Pull-Request [GH-826] was closed:
Issue was closed with resolution "Invalid"