阅读背景:

如何从EventManager Mock对象获取UnitOfWork,或者如何在PHP单元中获取最后一个持久化对象?

来源:互联网 

I am trying to unit test my bundle and I want to get unit of work from EventManager Mock. Basically, I want to get the last persisted object. I know in normal application, I can do the same with a EventSubscriber.I am trying to unit test my bundle and I want t




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: