Doctrine 2 - ORM

[GH-826] Prepare to return StatementMock for nullifying DB write during testing