This is my spring config based on hibernate. My problem is when I want to inject EntityManager in my test class. The problem is I get an exception that this.entitymanager is nul