Hello,

I am new to unit testing. Trying my very best to learn it.

Now I am trying to build a web application with Doctrine.
In my controller i have  the Entitymanager


In order to test some of my controller actions I am in need of the entity
manager.

My question is how to mock my entity manager into my test objects. I
obiously need to do something with my DIC.

Can anyone please give me a direction?

Thanks

J. Sanders

Reply via email to