When generating the test associated with a controller, the setUp method doesn't create an instance of the EntityManager and doesn't flush after removing all the entities in the manager.
Is this expected behavior, or should we address it?
What we have now :

How i fixed it :
